网络赛前10奖励计蒜客的本子或鼠标垫(外校也可以来现场领取)
Xidian Online Judge WebBoard
[ New Thread ]
MainBoard >> 运行错误了
14030199020 @ 2015-05-14 02:57:08
[ Quote ] [ Edit ] [ Delete ] 1#
在自己电脑上用GCC编译正常运行,到这里成了运行错误,错误提示都没有,怎么找墙撞
shenshilsy @ 2015-05-14 12:25:13
[ Quote ] [ Edit ] [ Delete ] 2#
数组开小了之类的……
14010120037 @ 2015-11-06 21:05:50
[ Quote ] [ Edit ] [ Delete ] 3#
我也是这样的,自己的gcc运行没问题,到这里就运行错误,还没提示,咋找
13030130011 @ 2016-04-22 00:08:29
[ Quote ] [ Edit ] [ Delete ] 4#
希望有大神解答一下,同问
adminlight @ 2016-04-22 00:39:31
[ Quote ] [ Edit ] [ Delete ] 5#
您好。对于C/C++程序来说,运行错误一般来自于未定义行为。众所周知,找出一个程序中所有的未定义行为是一个NP完全问题,我们无法提供帮助。
建议打开编译器所有警告选项,并使用尽可能完备的数据集测试程序,在测试过程中使用LLVM项目的Undefined Behaviour Sanitizer捕捉未定义行为,这样可以找到多数未定义行为。
adminlight @ 2016-04-22 00:45:51
[ Quote ] [ Edit ] [ Delete ] 6#
http://codeforces.com/blog/entry/15547
[Top] [Previous Page] [Next Page]
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2014 Xidian ACM Online Judge TEAM
GPL2.0 2003-2014 HUSTOJ Project TEAM