Hi :), I used exit(1) in one of my submissions and I've got "Runtime error" in a test case with "NO" answer and I think that it was the first test case witch the "exit(1)" line was called.
then I removed "exit(1)" from my code, and I didn't change anything(but adding some code for handling the "NO" answer without "exit(1)") and I've got "Accept".
I want to know if the runtime error was from the "exit(1)", can I use the "exit()" command in c++, if I can, is there ant special status code for exit or not...
and sorry for my bad English :)
problem: 1287D - Числа на дереве
submission with Runtime error: 79037752
correct submission: 79038193