Hi, Instead of raising an exception, I recommend you finish normally upon receiving the WA indication from the judge. That should avoid both TLE and RTE and show you WA. The system has no way of distinguishing the reason of an abnormal termination of the users' execution and will report any abnormal termination (i.e., exit code not 0) as Runtime Error. Most (possibly all) languages will actually do precisely that (finish with exit code other than 0) when an assertion fails or a raised exception is uncaught.
The question "What information will I receive about my attempts?" in the "Submitting" section of the FAQ <https://codingcompetitions.withgoogle.com/codejam/faq> has a lot more details about the precise definition of each error message. Best, Pablo On Thu, Apr 11, 2019 at 1:04 PM kitchent <[email protected]> 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? > > -- > 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/47af20e2-28a5-43af-ba42-a2c2f489b550%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CANa5jcBur%3D-51cDg8bnHtAjZ4UB0ST0vQQ-KWqRi0t%3DcAemVdw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
