为什么ACM会报错,明明在VC上运行没问题,各位大神求救求教。
答案:1 悬赏:40 手机版
解决时间 2021-03-29 17:36
- 提问者网友:活着好累
- 2021-03-29 02:37
为什么ACM会报错,明明在VC上运行没问题,各位大神求救求教。
最佳答案
- 五星知识达人网友:神的生死簿
- 2021-03-29 03:36
让我们来看看北大POJ的官方解释:
Runtime Error (RE):The solution has caused an unhandled exception (as defined by the runtime environment) during execution.
Time Limit Exceeded(TLE):The solution has run for longer time than permitted. This means either the time spent on all test cases exceeds the overall limit or that spent on a single test case exceeds the per-case limit. Note that time limits for solutions in Java are tripled. These solutions are also allowed an extra 110 ms for each test case.
一般在本地没问题,上传即RE的,多是运行时数组申请不够大,一些大的测试数据使得超过了申请的空间所致。RE属于编译通过,运行时实时错误。而CE(Compile Error)属处怠边干装妨膘施博渐于编译错误。
参考资料:acm.pku.edu.cn/JudgeOnline/page?id=1000追问但我直接是wrong answer...
Runtime Error (RE):The solution has caused an unhandled exception (as defined by the runtime environment) during execution.
Time Limit Exceeded(TLE):The solution has run for longer time than permitted. This means either the time spent on all test cases exceeds the overall limit or that spent on a single test case exceeds the per-case limit. Note that time limits for solutions in Java are tripled. These solutions are also allowed an extra 110 ms for each test case.
一般在本地没问题,上传即RE的,多是运行时数组申请不够大,一些大的测试数据使得超过了申请的空间所致。RE属于编译通过,运行时实时错误。而CE(Compile Error)属处怠边干装妨膘施博渐于编译错误。
参考资料:acm.pku.edu.cn/JudgeOnline/page?id=1000追问但我直接是wrong answer...
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯