记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:13:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   13 |                         if(a[i]<0&&b[i]<0||a[i]>0&&b[i]>0)cout<<"NO"<<endl;
      |                            ~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > NO 2ms 256.0 KiB
#2 Wrong Answer 2a3 > NO 3ms 256.0 KiB
#3 Wrong Answer Read NO, expect YES. 3ms 256.0 KiB
#4 Wrong Answer 1a2 > YES 1ms 256.0 KiB
#5 Wrong Answer 1a2,3 > YES > YES 2a5 > YES 3ms 256.0 KiB
#6 Wrong Answer Read NO, expect YES. 2ms 256.0 KiB
#7 Wrong Answer Read NO, expect YES. 2ms 256.0 KiB
#8 Wrong Answer Read NO, expect YES. 3ms 256.0 KiB
#9 Wrong Answer Read YES, expect YES. 2ms 256.0 KiB
#10 Wrong Answer Read NO, expect YES. 2ms 256.0 KiB
#11 Runtime Error Segmentation fault 14ms 512.0 KiB
#12 Runtime Error Segmentation fault 14ms 512.0 KiB
#13 Runtime Error Segmentation fault 8ms 512.0 KiB
#14 Runtime Error Segmentation fault 8ms 512.0 KiB
#15 Runtime Error Segmentation fault 21ms 512.0 KiB
#16 Runtime Error Segmentation fault 25ms 512.0 KiB
#17 Runtime Error Segmentation fault 19ms 504.0 KiB
#18 Runtime Error Segmentation fault 10ms 512.0 KiB
#19 Runtime Error Segmentation fault 11ms 512.0 KiB
#20 Runtime Error Segmentation fault 22ms 384.0 KiB

信息

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