记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:22:29: warning: unused variable 'cm' [-Wunused-variable]
  int s,c1,c2,syz1,syz2,sm=0,cm;
                             ^~
foo.cc:44:4: warning: 'b[3]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  c2=b[3]+b[4];
  ~~^~~~~~~~~~
foo.cc:43:4: warning: 'b[2]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  c1=b[1]+b[2];
  ~~^~~~~~~~~~
foo.cc:44:4: warning: 'b[4]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  c2=b[3]+b[4];
  ~~^~~~~~~~~~
foo.cc:47:21: warning: 'b[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(c1<c2) cout<<b[1]<<b[2];
                     ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 400.0 KiB
#3 Accepted 6ms 560.0 KiB
#4 Accepted 42ms 1.938 MiB
#5 Accepted 215ms 7.961 MiB

信息

递交者
类型
递交
比赛
周末测试2
语言
C++
递交时间
2021-09-24 21:05:58
评测时间
2021-09-24 21:05:58
评测机
分数
80
总耗时
267ms
峰值内存
7.961 MiB