记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:12: warning: variable 'b' set but not used [-Wunused-but-set-variable]
   11 |   int m1=0,b,b1;
      |            ^
foo.cc:11:14: warning: unused variable 'b1' [-Wunused-variable]
   11 |   int m1=0,b,b1;
      |              ^~
foo.cc:23:18: warning: unused variable 'b1' [-Wunused-variable]
   23 |   int m1=99999,b,b1,x;
      |                  ^~
foo.cc:23:21: warning: variable 'x' set but not used [-Wunused-but-set-variable]
   23 |   int m1=99999,b,b1,x;
      |                     ^
foo.cc:19:6: warning: unused variable 'f' [-Wunused-variable]
   19 |  int f=1;
      |      ^
foo.cc:28:9: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
   28 |   if(d[b]==m1)
      |      ~~~^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 4. 4ms 384.0 KiB
#2 Wrong Answer Read 2, expect 5. 2ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 5ms 1.25 MiB
#5 Wrong Answer Read 0, expect 16. 2ms 384.0 KiB

信息

递交者
类型
递交
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 18:22:38
评测时间
2022-08-07 18:22:38
评测机
分数
40
总耗时
19ms
峰值内存
1.25 MiB