记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:28:15: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
   28 |         cout<<a;
      |               ^
foo.cc:6:28: note: 'a' was declared here
    6 |         int n,m,w,cnt,max1,a,j1;
      |                            ^
foo.cc:22:17: warning: 'max1' may be used uninitialized [-Wmaybe-uninitialized]
   22 |                 if(cnt>max1)
      |                 ^~
foo.cc:6:23: note: 'max1' was declared here
    6 |         int n,m,w,cnt,max1,a,j1;
      |                       ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 8. 3ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Wrong Answer Read 1, expect 0. 4ms 284.0 KiB
#4 Accepted 18ms 332.0 KiB
#5 Wrong Answer Read 1, expect 3. 56ms 400.0 KiB

信息

递交者
类型
递交
题目
3-1 整数中的数字
比赛
2023暑期青少年社团(训练赛)
语言
C++
递交时间
2023-08-16 15:45:52
评测时间
2023-08-16 15:45:52
评测机
分数
40
总耗时
88ms
峰值内存
412.0 KiB