首先po张图,展现下平台的评判整体流程:

运行编译提醒

Waiting:  程序刚刚提交,正在等待OJ评测你的程序。

Compiling    代码正在后台编译

Running     程序运行

Judging    OJ正在检查您程序的输出是否正确

正确通过
Accepted     程序正确,题目已经正确解答

常见错误

Compilation Error    代码编译错误

可以点击查看编译错误细节

Runtime Error  程序运行时错误,一般是程序在运行期间执行了非法的操作造成的

常见情况:

ACCESS_VIOLATION 您的程序想从一些非法的地址空间读取或向其中写入内容。一般例如指针、数组下标越界都会造成这个错误的。

ARRAY_BOUNDS_EXCEEDED 您的程序试图访问一个超出硬件支持范围的数组单元。

FLOAT_DENORMAL_OPERAND 进行了一个非正常的浮点操作。一般是由于一个非正常的浮点数参与了浮点操作所引起的,比如这个数的浮点格式不正确。

FLOAT_DIVIDE_BY_ZERO 浮点数除法出现除数为零的异常。

FLOAT_OVERFLOW 浮点溢出。要表示的数太大,超出了浮点数的表示范围。

FLOAT_UNDERFLOW 浮点下溢。要表示的数太小,超出了浮点数的表示范围。

INTEGER_DIVIDE_BY_ZERO 在进行整数除法的时候出现了除数为零的异常。

INTEGER_OVERFLOW 整数溢出。要表示的数值太大,超出了整数变量的范围。

STACK_OVERFLOW 栈溢出。一般是由于无限递归或者在函数里使用了太大的数组变量的原因。顾名思义,stack overflow 就是是栈溢出了。在进行数值运算时,我们常常要和运算结果的溢出打交道。数值运算结果可能上溢(overflow),也可能是下溢(underflow)。不过栈的溢出显然只可能是上溢,即栈空间被用完了。

要正确处理栈溢出采用以下办法:

(1)修正我们的程序,不要造成无穷递归或太深的递归。我们可以把某些递归代码非递归化,例如那个经典的 qsort ,最好就用非递归的算法来实现,就比较皮实一点。

(2)修正我们的程序,不要定义过大的局部变量,特别是在定义大结构、大数组时要格外小心。有时我们可能会用 _alloca() 这样的特殊函数直接在栈上分配空间,更要多加注意。可以定义成static

(3)利用编译器的特性,将进程允许的栈大小设置得大一些。例如可以采用 MSC 中的 /STACK 参数开关。

(4)对于那些还可能导致栈溢出的代码,采用 Microsoft 的结构化异常处理或标准的 C++ 异常处理机制,结合 _resetstkoflw() 进行处理。当然了,要是不嫌麻烦,我们也可以自己探测所用栈的大小,动态地检测是否可能导致栈溢出,以避免可能的异常。

Time Limit Exceeded    程序超过了题目的时间限制
Memory Limit Exceeded   程序超过了题目的内存限制

Presentation Error程序运行的结果是正确的,格式和错误。

比如中间多了回车或者空格,请仔细检查程序的输出部分,离AC就差一点点啦!

Restricted Function    代码中使用了不安全的函数

Wrong Answer     程序不正确,一般认为是算法有问题

System Error   OJ内部出现错误。

Out Of Contest Time 超出比赛时间,比赛的时候才会出现。

最后愿大家不见红橙之见绿,道道AC,次次AK

另附英文原版:

Waiting: Your program is being judged or waiting to be judged.

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.

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.

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).

ACM 在线平台(OJ)评判结果 错误类型 及解决办法相关推荐

  1. python类型错误如何解决_在Python中 出现的错误类型以及解决办法

    #IndentationError:expected an indented #block 缩进错误 #解决办法 tab 缩进 for index in range(10): if name == ' ...

  2. android 关闭jack_Android7.0编译 jack常见错误类型及解决办法

    我使用的源码为SudaMod,3.1分支的源代码,第一次编译Android M以上的源码,就莫名其妙的遇到了几个关于JACK的坑,以下就列举几个常见的错误以及解决办法. 第一个错误: Out of m ...

  3. VB.net参数化界面调用ANSYS求解的详细步骤及错误提示的解决办法

    VB.net参数化界面调用ANSYS求解的详细步骤及错误提示的解决办法 微软旗下.net平台凭其易操作性.功能强大备受现代码农的喜爱,vb作为一门面向对象的程序语言,有着强大的功能和相对简单的操作,v ...

  4. nginx 502错误原因和解决办法总结

    nginx 502错误原因和解决办法总结 一.NGINX 502错误排查 二.Nginx 413错误的排查:修改上传文件大小限制 三.Nginx 400错误排查:HTTP头/Cookie过大 一.NG ...

  5. apmserv mysql5.1启动失败_使用APMServ时出现“1、Apache启动失败,请检查相关配置。√MySQL5.1已启动。”错误的终极解决办法:...

    使用APMServ时出现"1.Apache启动失败,请检查相关配置.√MySQL5.1已启动."错误的终极解决办法: from:http://www.hebei35.cn/blog ...

  6. 手机程序安装时几种有错误提示的解决办法

    错误提示一:证书过期 问题说明:软件证书过期. 解决办法:1:把手机时间调到证书的期限内(把手机时间往前调几个月)再安装,安装完毕后调回正确时间                            ...

  7. LunarPages空间500错误原因及解决办法

    我们在使用LunarPages空间时,有时在安装程序时可能经常出现500错误这一般是由于服务器内部出现的错误引起的,那么导致500错误原因有哪些呢?又该如何解决呢?下面来说说500错误常见原因及解决办 ...

  8. SQLServer无法打开用户默认数据库,登录失败,错误4064的解决办法

    "SQLServer无法打开用户默认数据库,登录失败,错误4064"的解决办法 1.检查登录密码 如果密码错误,修改数据库密码,用windows身份验证登录进去, (1)安全--登 ...

  9. Mysql错误1366的解决办法:Incorrect string value: '\xF0\x9F...' for column 'XXX' at row 1

    Mysql错误1366的解决办法:Incorrect string value: '\xF0\x9F...' for column 'XXX' at row 1 原因是UTF-8编码有可能是两个.三个 ...

最新文章

  1. html在线压缩tar.gz源码,c50_melp.tar.gz美国2400语音压缩编码算法,文件…
  2. 问题 | 基于神经网络的高考、中考、考研试题预测
  3. Java学习笔记4——I/O框架
  4. IOS基础:ActionSheet(上拉菜单)的实现
  5. 教你怎么蹭网实现和dualwan双倍网速上网
  6. feathers mysql_Go 语言操作 MySQL 之 CURD 操作
  7. 盘点10种局域网联机游戏
  8. 2021-08-14
  9. c语言2059,C语言错误 error C2059: 语法错误:“)”以及 错误error C2065: “sockaddr”: 未声明的标识符...
  10. 排名缘何像风中摇摆的树叶一样岌岌可危
  11. Day41——Dp专题
  12. Python-Django毕业设计交通违章举报平台(程序+Lw)
  13. 如何从iTunes Store赠送音乐,电影等
  14. word常见问题_2 添加不同的页码
  15. PCIe学习笔记(一)-------1.3 PCIe数据包(TLP,DLLP,PLP)
  16. 3080算力添加、ValueError: Unknown CUDA arch (8.6) or GPU not supported 解决RTX30 运行深度学习代码报错
  17. 苹果app开发流程详解​
  18. 2022年最新Android面试题整理,全网都在看,史上最全面试攻略
  19. 重装win7旗舰版系统无线网络红叉问题解决办法
  20. 9月全球披露区块链应用项目70个,中国市场降温

热门文章

  1. JAVA布局模式:GridBagConstraints
  2. 计算机主机的cpu作用,电脑中的CPU是什么意思
  3. Problem: 平板游戏
  4. window系统使用python从网络映射目录中拷贝文件
  5. HTML5新增标签(一)
  6. 物联网工程实践日报表10
  7. 内网ip和外网ip的联系以及连接过程
  8. 《失业的程序员》(四):关于猪刚烈
  9. HJ1 字符串最后一个单词的长度
  10. Spring事件监听原理