记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   14 |     for(int i=0;i<j;i++)
      |     ^~~
foo.cc:17:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   17 |         for(int i=0;i<j;i++)
      |         ^~~
foo.cc:42:22: warning: statement has no effect [-Wunused-value]
   42 |                 l1[i]==false;
      |                 ~~~~~^~~~~~~
foo.cc:10:19: warning: unused variable 'y2' [-Wunused-variable]
   10 |         int y1[N],y2[N];
      |                   ^~
foo.cc:19:25: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
   19 |                         if(a==0)l1[i]=true;
      |                         ^~
foo.cc:20:9: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
   20 |         if(b<0)
      |         ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read YES, expect NO. 2ms 256.0 KiB
#2 Wrong Answer Read YES, expect NO. 1ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Wrong Answer Read YES, expect NO. 2ms 256.0 KiB
#5 Wrong Answer Read YES, expect NO. 2ms 256.0 KiB
#6 Wrong Answer Read NO, expect NO. 3ms 256.0 KiB
#7 Wrong Answer Read NO, expect NO. 3ms 256.0 KiB
#8 Wrong Answer Read NO, expect NO. 3ms 256.0 KiB
#9 Wrong Answer Read NO, expect NO. 3ms 256.0 KiB
#10 Wrong Answer Read NO, expect NO. 3ms 384.0 KiB
#11 Wrong Answer Read NO, expect NO. 89ms 632.0 KiB
#12 Wrong Answer Read NO, expect NO. 69ms 504.0 KiB
#13 Wrong Answer Read NO, expect NO. 95ms 504.0 KiB
#14 Wrong Answer Read NO, expect NO. 58ms 384.0 KiB
#15 Wrong Answer Read NO, expect NO. 61ms 512.0 KiB
#16 Wrong Answer Read NO, expect NO. 601ms 2.367 MiB
#17 Wrong Answer Read NO, expect NO. 201ms 1016.0 KiB
#18 Wrong Answer Read NO, expect NO. 461ms 1.242 MiB
#19 Wrong Answer Read NO, expect NO. 250ms 1016.0 KiB
#20 Wrong Answer Read NO, expect NO. 912ms 2.617 MiB

信息

递交者
类型
递交
题目
P1229 A 阅读程序
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 19:40:23
评测时间
2022-08-21 19:40:23
评测机
分数
5
总耗时
2832ms
峰值内存
2.617 MiB