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)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1417 2 数组类+定点删除
- 语言
- C++
- 递交时间
- 2023-10-24 21:52:38
- 评测时间
- 2023-10-24 21:52:38
- 评测机
- 分数
- 0
- 总耗时
- 20ms
- 峰值内存
- 412.0 KiB