Accepted

/in/foo.cc: In function 'long long int check(long long int, long long int)':
/in/foo.cc:8:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(a==1&&b==0||a==2&&b==1||a==0&&b==2)return 2;
     ~~~~^~~~~~
/in/foo.cc:8:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(a==1&&b==0||a==2&&b==1||a==0&&b==2)return 2;
                             ~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 344.0 KiB
#2 Accepted 1ms 356.0 KiB
#3 Accepted 1ms 460.0 KiB
#4 Accepted 2ms 376.0 KiB

信息

递交者
类型
递交
题目
P2576 纸牌游戏7级2 2023.12
比赛
2024.8.6暑期高级2班练习
语言
C++
递交时间
2024-08-06 17:47:14
评测时间
2024-08-06 17:47:14
评测机
分数
100
总耗时
7ms
峰值内存
460.0 KiB