0

WHY HIDDEN CASES !!?

I'm learning the BASICS of a language but i somehow will know what could bug in the SIXTH case that happens to be hidden so I can't see the problem with the output, idk seems dumb

2nd Apr 2023, 11:42 PM
محمد عبد الله حطيبة
محمد عبد الله حطيبة - avatar
2 Respostas
+ 12
The idea is to check if the code runs according to the test description, not only to pass a predefined set of inputs. You can bet that, if all cases were shown, many people would tweak their codes to pass those cases, instead of thinking of a solid logic and really learning the lesson. Also, in real life, it's impossible to know all possible situations before developing any software. But it should work. The way it does is through solid logic.
3rd Apr 2023, 12:03 AM
Emerson Prado
Emerson Prado - avatar
+ 8
because hidden cases. You don't need to see or worry about them if your code works. If you specify the language, the challenge, & the code, someone will help you.
2nd Apr 2023, 11:45 PM
Lamron
Lamron - avatar