做acm看到的ac、wa是什么的缩写?
ac是 Accepted的缩写,OK! Your program is correct!,接受的意思,一般用在ONLINE JUDGE网上,表示能通过的代码。
wa 是Wrong Answer缩写。说白了就是答案错误。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"。
简单介绍以下ACM:
ACM国际大学生程序设计竞赛(简称ACM/ICPC)是由国际计算机界历史最悠久、最具权威性组织ACM学会主办,是世界上公认的规模最大、水平最高的国际大学生程序设计竞赛,其目的指在使大学生运用计算机来充分展示个人分析问题和解决问题的能力。
ACM崇尚创意、创新,对于当代大学生有着非常强烈的吸引力。比赛题目需要选手具有较强的逻辑思维能力、实际应用能力及创新能力。
因历届竞赛都芥蒂了世界各大洲的精英,云集了计算机界的“希望之星”而受到国际各知名大学的重视,并受到全世界各著名计算机公司如Microsoft,IBM等的高度关注,成为世界各国大学生最具影响力的国际级计算机类的赛事,ACM所颁发的获奖证书也为世界各著名计算机公司、各知名大学所认可。
综上所诉,ACM学好了进大公司绝对不成问题的。
一般的OJ 也都 基本一样。
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 (RE) : Your program failed during the execution (segmentation fault, floating point exception...). The exact cause is reported except Java.
Time Limit Exceeded (TLE) : Your program tried to run with too much CPU time.
Memory Limit Exceeded (MLE) : Your program tried to use more memory than the judge default settings.
Output Limit Exceeded (OLE): Your program tried to write too much. This usually occurs if it goes into an infinite loop. The output limit is usually 256K, 512K, or 1M bytes.
Compilation Error (CE) : The compiler (gcc/g++/gpc/fpc/javac) could not compile your program. Of course, warning messages are not error messages. Click the link at the judge reply to see the actual error message.
Restricted Function (RF): Your program tried to call restricted functions. For example, maybe you have tried to open a file which is forbidden on OJ. It may also caused by Runtime Error (e.g. maybe a pointer point to wrong funtion), just consider it as Runtime Error in this situation.
Internal Error (IE): The Judge system cause an internal error, please submit it later.
wa Wrong Answer