Wrong Answer

foo.cc: In function 'int main()':
foo.cc:24:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   24 |                 if(a[i]==0&&b[i]==2||a[i]==2&&b[i]==5||a[i]==5&&b[i]==0)
      |                    ~~~~~~~^~~~~~~~~
foo.cc:24:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   24 |                 if(a[i]==0&&b[i]==2||a[i]==2&&b[i]==5||a[i]==5&&b[i]==0)
      |                                                        ~~~~~~~^~~~~~~~~
foo.cc:27:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   27 |                         if(a[i]==2&&b[i]==0||a[i]==5&&b[i]==2||a[i]==0&&b[i]==5)
      |                            ~~~~~~~^~~~~~~~~
foo.cc:27:71: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   27 |                         if(a[i]==2&&b[i]==0||a[i]==5&&b[i]==2||a[i]==0&&b[i]==5)
      |                                                                ~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 284.0 KiB
#2 Wrong Answer Read A, expect B. 4ms 284.0 KiB
#3 Wrong Answer Read A, expect draw. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P2395 1.6.8石头剪刀布
语言
C++
递交时间
2023-08-26 19:23:38
评测时间
2023-08-26 19:23:38
评测机
分数
30
总耗时
14ms
峰值内存
412.0 KiB