记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   13 |             if(a>0&&b>=0||a<0&&b<=0){
      |                ~~~^~~~~~
foo.cc:5:11: warning: unused variable 'cnt' [-Wunused-variable]
    5 |     int a,cnt=0,t;
      |           ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read N0, expect NO. 2ms 256.0 KiB
#2 Wrong Answer Read N0, expect NO. 3ms 256.0 KiB
#3 Wrong Answer Read N0, expect YES. 6ms 256.0 KiB
#4 Wrong Answer Read N0, expect NO. 4ms 256.0 KiB
#5 Wrong Answer Read N0, expect NO. 4ms 256.0 KiB
#6 Wrong Answer Read N0, expect NO. 4ms 256.0 KiB
#7 Wrong Answer Read N0, expect NO. 5ms 256.0 KiB
#8 Wrong Answer Read N0, expect NO. 3ms 256.0 KiB
#9 Wrong Answer Read N0, expect NO. 3ms 256.0 KiB
#10 Wrong Answer Read N0, expect NO. 4ms 256.0 KiB
#11 Wrong Answer Read N0, expect NO. 109ms 384.0 KiB
#12 Wrong Answer Read N0, expect NO. 73ms 380.0 KiB
#13 Wrong Answer Read N0, expect YES. 93ms 376.0 KiB
#14 Wrong Answer Read N0, expect YES. 45ms 376.0 KiB
#15 Wrong Answer Read N0, expect YES. 97ms 504.0 KiB
#16 Wrong Answer Read N0, expect NO. 876ms 1.492 MiB
#17 Wrong Answer Read N0, expect YES. 440ms 760.0 KiB
#18 Wrong Answer Read N0, expect YES. 441ms 888.0 KiB
#19 Wrong Answer Read N0, expect NO. 508ms 760.0 KiB
#20 Wrong Answer Read N0, expect YES. 990ms 1.742 MiB

信息

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