Runtime Error
foo.cc: In function 'int main()': foo.cc:13:17: warning: iteration 2000004 invokes undefined behavior [-Waggressive-loop-optimizations] 13 | if(arr[i]=='W') | ~~~~~^ foo.cc:12:18: note: within this loop 12 | for(int i=1;i<=len;i++){ | ~^~~~~ foo.cc:34:17: warning: iteration 2000004 invokes undefined behavior [-Waggressive-loop-optimizations] 34 | if(arr[i]=='W') | ~~~~~^ foo.cc:33:18: note: within this loop 33 | for(int i=1;i<=len;i++){ | ~^~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1217 乒乓球
- 语言
- C++
- 递交时间
- 2022-10-04 16:32:19
- 评测时间
- 2022-10-04 16:32:19
- 评测机
- 分数
- 0
- 总耗时
- 120ms
- 峰值内存
- 512.0 KiB