记录详情

Runtime Error

foo.cc: In member function 'bool Array::DeleteByIndex(int)':
foo.cc:84:9: warning: control reaches end of non-void function [-Wreturn-type]
   84 |         }
      |         ^
foo.cc: In function 'int main(int, char**)':
foo.cc:110:25: warning: 'objArray.Array::arrayHead' may be used uninitialized [-Wmaybe-uninitialized]
  110 |         objArray.Display();
      |         ~~~~~~~~~~~~~~~~^~
foo.cc:107:15: note: 'objArray.Array::arrayHead' was declared here
  107 |         Array objArray(ary_nInstance, 8);
      |               ^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 4ms 412.0 KiB
#2 Runtime Error Segmentation fault 4ms 412.0 KiB
#3 Runtime Error Segmentation fault 2ms 412.0 KiB
#4 Runtime Error Segmentation fault 3ms 412.0 KiB
#5 Runtime Error Segmentation fault 5ms 412.0 KiB

信息

递交者
类型
递交
题目
P1417 2 数组类+定点删除
语言
C++
递交时间
2023-10-24 21:52:38
评测时间
2023-10-24 21:52:38
评测机
分数
0
总耗时
20ms
峰值内存
412.0 KiB