1. judge上返回结果与可能的问题、解决方法
Q: What is the meaning of the judge's reply XXXXX?
A: Here is a list of the judge's replies and their meaning:
Received : The judge system has received your solution, usually you just need to wait a minute and your solution will be judged.
收到程序,等待判题程序判题即可。
Accepted (AC) : OK! Your program is correct!
通过。
Presentation Error (PE) : Output Format Error. Your output format is not exactly the same as the judge's output, although your answer to the problem is correct. Check your output for spaces, blank lines, etc. against the problem output specification.
输出格式错误。查看是否有多余的换行,是否行末有空格,或者摸个地方是否多输出了空格。
Wrong Answer (WA) : Correct solution not reached for the inputs. The inputs and outputs that we use to test the programs are not public. Some problems with special judge may not reply "Presentation Error", replaced by "Wrong Answer".
得到的答案错了。再思考思考。也有可能格式不对,比如没有在应该空格的地方输出空格,也有可能导致这个错误。
Runtime Error

本文介绍了在线判题系统中常见的返回结果,如Accepted、Presentation Error、Wrong Answer、Runtime Error等,并针对每种情况解释可能的问题及解决方法,包括输出格式错误、运行时错误、超时和内存限制等。同时,提到了编译错误和使用非法函数的情况,以及一些提交源代码时的快捷键提示。
最低0.47元/天 解锁文章
948

被折叠的 条评论
为什么被折叠?



