Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:17:26: warning: ‘k’ may be used uninitialized [-Wmaybe-uninitialized]
   17 |                         k++;
      |                         ~^~
foo.cc:5:29: note: ‘k’ was declared here
    5 |         int a[10005],imax,n,k;
      |                             ^
# 状态 耗时 内存占用
#1 Wrong Answer Read 1728188235, expect 3. 3ms 536.0 KiB
#2 Wrong Answer Read 860429594, expect 2. 3ms 728.0 KiB
#3 Wrong Answer Read -375851789, expect 11. 3ms 320.0 KiB
#4 Wrong Answer Read -224853579, expect 13. 2ms 320.0 KiB
#5 Wrong Answer Read -474229996, expect 12. 2ms 540.0 KiB

信息

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