读书人

exited with signal#11 usaco提交有关

发布时间: 2012-03-09 16:54:58 作者: rapoo

exited with signal#11 usaco提交问题


> Run 1: Execution error: Your program (`clocks') exited with signal
#11 (segmentation violation [maybe caused by accessing memory out
of bounds, array indexing out of bounds, using a bad pointer
(failed open(), failed malloc), or going over the maximum
specified memory limit]). The program ran for 0.000 CPU seconds
before the signal. It used 3028 KB of memory.

------ Data for Run 1 ------
9 9 12
6 6 6
6 3 6
----------------------------



[解决办法]
> Run 1: 执行错误:您的程序(`时钟')已退出,信号
#11(分割违反[可能造成内存访问
越界,数组越界索引时,使用一个无效的指针
(失败的open(),失败的malloc),或超过最大持续
指定的内存限制])。在程序运行的CPU为0.000秒
前的信号。它使用3028 KB的内存。
[解决办法]
越界,或者指针问题。

读书人网 >C语言

热点推荐