Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:17:28: warning: ‘cnt’ may be used uninitialized [-Wmaybe-uninitialized]
   17 |                         cnt++;
      |                         ~~~^~
foo.cc:5:35: note: ‘cnt’ was declared here
    5 |         long long a[10005],imax,n,cnt;
      |                                   ^~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 140729969074635, expect 3. 3ms 536.0 KiB
#2 Wrong Answer Read 140724759316691, expect 11. 3ms 536.0 KiB
#3 Wrong Answer Read 140723266848874, expect 2. 3ms 536.0 KiB
#4 Wrong Answer Read 140723735596645, expect 13. 2ms 536.0 KiB
#5 Wrong Answer Read 140736901911364, expect 12. 2ms 324.0 KiB

信息

递交者
类型
递交
题目
P1026 C8 最大值的出现次数
语言
C++
递交时间
2024-05-14 21:24:57
评测时间
2024-05-14 21:24:57
评测机
分数
0
总耗时
14ms
峰值内存
536.0 KiB