Accepted

foo.cc: In function 'int main()':
foo.cc:14:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   14 |   if(q==5&&p==2||q==3&&p==0||p==5&&q==0)
      |      ~~~~^~~~~~
foo.cc:14:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   14 |   if(q==5&&p==2||q==3&&p==0||p==5&&q==0)
      |                              ~~~~^~~~~~
foo.cc:18:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   18 |   if(p==5&&q==2||p==3&&q==0||q==5&&p==0)
      |      ~~~~^~~~~~
foo.cc:18:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   18 |   if(p==5&&q==2||p==3&&q==0||q==5&&p==0)
      |                              ~~~~^~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P2395 1.6.8石头剪刀布
语言
C++
递交时间
2022-06-20 12:13:41
评测时间
2022-06-20 12:13:41
评测机
分数
100
总耗时
8ms
峰值内存
384.0 KiB