Runtime Error
/in/foo.cc: In function 'int main()': /in/foo.cc:10:24: warning: array subscript has type 'char' [-Wchar-subscripts] if (isalpha(ch)) a[ch] ++; ^ /in/foo.cc:16:16: warning: iteration 349 invokes undefined behavior [-Waggressive-loop-optimizations] if (Max < a[i]) pos = i, Max = a[i]; ~~~^ /in/foo.cc:15:20: note: within this loop for (int i = 1; i <= 1000; i++) ~~^~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1244 Matrix67的情书
- 语言
- C++
- 递交时间
- 2018-02-20 21:05:46
- 评测时间
- 2018-02-20 21:05:46
- 评测机
- 分数
- 0
- 总耗时
- 25ms
- 峰值内存
- 508.0 KiB