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 472.0 KiB
#2 Accepted 1ms 480.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 492.0 KiB

信息

递交者
类型
递交
比赛
2024.8.6暑期高级2班练习
语言
C++
递交时间
2024-08-06 16:12:49
评测时间
2024-08-06 16:12:49
评测机
分数
100
总耗时
7ms
峰值内存
492.0 KiB