where are the details of runtime errors?
Posted: Sat Nov 25, 2006 11:09 pm
In the "How to understand the Online Judge answers" how-to it says
c++ -o 101 101.cpp
cat input | ./101
The judge system gives me a runtime error. I would like to know why, but I am unclear as to where the exact cause is reported. I've looked at my author information page, judge status page, email, and wherever else I could think to look but could not find it. Could how to find the cause be included in the how-to?
I can also PM my code if you like.
Thanks,
Jeff
My code for challenge 101 compiles and runs fine with the following with gcc 4 on mac os x and gcc 3.4 on cygwin.Crash - Runtime Error (RE): Your program failed during the execution (segmentation fault, floating point exception...). The exact cause is reported to the user.
c++ -o 101 101.cpp
cat input | ./101
The judge system gives me a runtime error. I would like to know why, but I am unclear as to where the exact cause is reported. I've looked at my author information page, judge status page, email, and wherever else I could think to look but could not find it. Could how to find the cause be included in the how-to?
I can also PM my code if you like.
Thanks,
Jeff