各种错误提示的意义及原因

摘自PKUhttp://poj.org/faq.htm

 

Accepted (AC): Congratulations! Your program has produced the correct output!

 

Presentation Error (PE): Your program's output format is not exactly the same as required by the problem, although the output is correct. This usually means the existence of omitted or extra blank characters (white spaces, tab characters and/or new line characters) between any two non-blank characters, and/or blank lines (a line consisting of only blank characters) between any two non-blank lines. Trailing blank characters at the end of each line and trailing blank lines at the of output are not considered format errors. Check the output for spaces, blank lines, etc. against the problem's output specification.

尽管你的输出时正确的,但是输出的格式与要求格式并不太相符。有些空格,换行被省略了,或者在没有空格的地方多输出了空格、制表符、换行符、空行。每行结尾处多了空格,换行等不可见字符不会认为是格式错误。

 

Wrong Answer (WA): Your program does not produce the correct output. Special judge programs will possibly return Wrong Answer in place of Presentation Error for simplicity and robustness.

答案不正确。特殊评判程序中,对于简单性与鲁棒性,评判系统会返回WA而不是PE

 

Runtime Error (RE): Your program has failed during the execution. Possible causes include illegal file access, stack overflow, out of range in pointer reference, floating point exception, division by zero and many others. Programs that stay not responding for a long time (not consuming CPU cycles) may also be considered to have encountered runtime errors.

程序执行时失败。可能原因包括非法文件读取,栈溢出,指针访问越位,浮点数异常错误,整除0以及其他很多原因。程序长时间没有反应(不是消耗CPU周期)也会被认RE

 

Time Limit Exceed (TLE): The total time your program has run for has exceeded the limit.

Each problem has two time limits - TOTAL TIME LIMIT and CASE TIME LIMIT. The former is the total time allowed for your program to deal with all input files. And the latter is the total time allowed for your program to deal with a single input file. Exceeding either one will lead to Time Limit Exceed. If you get Time Limit Exceed but find that your program has run for less time than is limited, your program must have exceeded that CASE TIME LIMIT.

如果超时的时间不大,肯定是处理单个案例时超时了,而不是程序总体超时。

 

Problems without a special demand on the time limit for a single input file will have its case time limit is trivially set as the same as its total time limit and the phrase "Case Time Limit" will not show up under the problem title.

对于单次输入没有特殊要求的程序可能存在单个案例超时。

 

Memory Limit Exceed (MLE): The maximum amount of memory that your program has used has exceeded the limit.

程序使用的内存超过了限制。

 

Output Limit Exceed (OLE): Your program has produced too much output. Currently the limit is twice the size of the file containing the expected output. The most common cause of this result is that your programs falls into an infinite loop containing some output operations.

输出超过限制。常见原因:程序进入无限循环。

 

Compile Error (CE): The compiler fails to compile your program. Warning messages are not considered errors. Click on the judge's reply to see the warning and error messages produced by the compiler.

编译错误。根据详细信息修改代码。常见的是语法错误。

 

No such problem: Either you have submitted with a non-existent problem id or the problem is currently unavailable (probably reserved for upcoming contests).

 

System Error: The judge cannot run your program. One example is that your program requires much more memory than hardware limitation.

系统错误。比如,程序要求的内存超过了实际硬件内存。

Validate Error: The special judge program fails in checking your output, which means it may contain some bugs. If you get this result, please contact the administrator. (Of course, this also means your output is probably wrong).

请与管理员联系.... :)

 


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值