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
2 Réponses
+ 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.
+ 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.