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