@vipin16 bro I think codechef people are doing good by hiding test cases. It forces us to think about spoiler cases. If you want to learn by analysing the failed test cases better to practice on hackerrank and don’t say good bye to codechef just feel the signature taste of codechef.
@bhampton: There is a frame of reference. We reveal all the solutions of all the problems after the contest and the problems are also moved into the practice section for the users to try at leisure. And you can see other’s solutions too. Check this: http://www.codechef.com/submissions. Revealing test data is a spoiler and short cut to correcting your solution. Its the pursuit of finding the unknown that makes it exciting.
We can also have partial scoring test data on CodeChef. The online judge has the capability. But that does not yet convince us to reveal test data. Ad mentioned before, even in the practice section, we believe that revealing test data is a spoiler.
Even if we dont get partial scoring, providing just the detail like what was the status for each test file would be great help. It gives a hint if we are going totally wrong or somewhat in right direction.
Not revealing failing test cases during contests is justifiable, However illogical if i’m solving problems from problem banks . Spoiler? How? After repeated failing if i’m not able to figure out theres no learning its just time spent to waste. As for editorials,LOOK-i have a completely different algorithm of my own and i want to know here i went wrong if i do-THAT’S LEARNING.“where you went wrong”-thats learning. Editorials are just a way to see the problem through somebody else’s mind and follow their algorithm and techniques. I don’t see it any different from copying others solutions.
BUT ATLEAST AT THE END OF THE CONTEST ,YOU CAN PROVIDE PROVIDE THE PARTICULAR TEST CASE WHERE A PARTICULAR CODE FAILS.THIS WILL HELP A LOT OF PROGRAMMER TO IDENTIFY THEIR MISTAKES INSTEAD OF LEARNING IT FROM EDITORIALS.
I tried nearly 10 to 15 different test cases and it is working fine for each of them.
If possible just let me know the input for which my program fails as I have tried everything from my end.
I only want to know about the input so I could modify my program accordingly.
I wont be able to learn if I keep making the same mistake over and over again. I don’t want test cases during a competition. All I need is one or two failing test cases in the practice section so I can debug my code and see where it is going wrong and see what mistakes I made so that I can rectify it and not make the same mistakes in the future. Is this too much to ask for?
It’s not exciting, it’s frustrating. I have a solution to a problem that appears to be the same algorithm as another solution that got the right answer, yet I have the wrong answer. I’ve generated several testcases, but haven’t been able to figure out what is wrong with my code. Without seeing the failing testcase, it leads me to suspect that the problem is with the testcase, not my code. There’s no way we can check to see if in fact the testcase is wrong as sometimes happens. On Codeforces, for example, someone occasionally spots an error with a testcase, and it gets corrected. There’s no way that can happen when you don’t reveal the testcases even after the contest.