On Thursday, April 11, 2019 at 3:04:14 PM UTC-5, kitchent wrote:
> It took me quite a bit of time to locate where the problem of my 
> implementation was, when all it showed was RE. Turned out it was actually 
> wrong answer. I was raising Exception to avoid TLE, but that way I was also 
> quite lost in finding where the program was performing unexpectedly. How 
> could I make use of the response given by the verdict to be better informed?

In most languages, throwing an uncaught exception results in your program 
exiting with a non-zero exit status. If this happens, your submission is judged 
as a runtime error, _regardless_ of whether the output up to that point is 
correct.

If you instead cause your program to exit normally (with an exit status of 
zero) then you shouldn't get a runtime error; instead, the output of your code 
will be judged as either "correct" or "wrong answer".

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/76fd793f-c72e-4501-9719-7538b3dd9197%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to