首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

exited with signal#11 usaco提交有关问题

2012-03-09 
exited with signal#11 usaco提交问题 Run 1: Execution error: Your program (`clocks) exited with si

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的内存。
[解决办法]
越界,或者指针问题。

热点排行