Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:11:17: warning: ‘max’ may be used uninitialized [-Wmaybe-uninitialized] 11 | if(max<a[i]) | ^~ foo.cc:6:15: note: ‘max’ was declared here 6 | int n,max,cs; | ^~~ foo.cc:17:27: warning: ‘cs’ may be used uninitialized [-Wmaybe-uninitialized] 17 | cs++; | ~~^~ foo.cc:6:19: note: ‘cs’ was declared here 6 | int n,max,cs; | ^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1026 C8 最大值的出现次数
- 语言
- C++
- 递交时间
- 2024-05-14 21:09:52
- 评测时间
- 2024-05-14 21:09:52
- 评测机
- 分数
- 0
- 总耗时
- 13ms
- 峰值内存
- 536.0 KiB