Runtime Error
foo.cc: In function ‘int mco(int*, int, int)’: foo.cc:27:1: warning: no return statement in function returning non-void [-Wreturn-type] 27 | } | ^ In function ‘int FindMax(int*, int, int)’, inlined from ‘int mco(int*, int, int)’ at foo.cc:21:20: foo.cc:5:9: warning: ‘b’ may be used uninitialized [-Wmaybe-uninitialized] 5 | int max = a[x]; | ^~~ foo.cc: In function ‘int mco(int*, int, int)’: foo.cc:16:9: note: ‘b’ declared here 16 | int b[10005]; | ^
信息
- 递交者
- 类型
- 递交
- 比赛
- 2025年春 南师大《程序设计与竞赛》作业赛第五场
- 语言
- C++
- 递交时间
- 2025-04-11 23:44:21
- 评测时间
- 2025-04-11 23:44:21
- 评测机
- 分数
- 0
- 总耗时
- 17ms
- 峰值内存
- 524.0 KiB