Skip to main content
3 of 4
edited tags
Braiam
  • 4.5k
  • 13
  • 154
  • 265

Are UVa Online Judge Runtime Errors off-topic?

I ran into one of these in the close queue and wasn't sure what to do with it. Assuming there's no ethical problem with answering UVa Online Judge debugging questions, I have a more specific question regarding questions asking for debugging help for Runtime Errors.

Per the Judge's verdict information, "The exact cause [of a Runtime Error] is not reported to the user". This fact results in questions where someone pastes their code, and asks "why did it fail? It works on my machine!". Such questions appear to run afoul of the "no SSCCE" close reason:

Questions seeking debugging help... must include... a specific problem or error...

However, the asker is generally unable to provide the stack trace (or even an exact error type), since UVa won't. The asker often can't even reproduce the error. If the stack trace were available, the questions would often be on-topic. I feel bad in these cases saying "sorry; you didn't tell us the unknown problem, so you're on your own!"

On the other hand, "I know it's wrong but I don't know how or why" is clearly off-topic, and no one wants to dig through code to find an unknown error (which might end up being something inane like "doesn't exit with code 0"!).

So, what should be done with this sort of question?


Example: This question has a couple of downvotes and is in the close queue, but would be a reasonably well-formed question (could use clearer expected input/output) if only the asker knew what the error message was!

Question 25652693

Henry Keiter
  • 17.2k
  • 11
  • 5