Time Exceeded
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:26: warning: array subscript -2 is below array bounds of 'int [1000005]' [-Warray-bounds]
10 | for (int i=num[-2];i<=n-1;i++)
| ~~~~~~^
/in/foo.cc:4:5: note: while referencing 'num'
4 | int num[N],n,maxx=INT_MIN;
| ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P2562 烹饪问题5级T2 2023.12
- 语言
- C++
- 递交时间
- 2026-03-01 21:50:54
- 评测时间
- 2026-03-01 21:50:54
- 评测机
- 分数
- 60
- 总耗时
- ≥4115ms
- 峰值内存
- ≥4.293 MiB