记录详情

Accepted

/in/foo.cc: In function 'int judge(int, int)':
/in/foo.cc:7:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
      ~~~~~~~^~~~~~~~~
/in/foo.cc:7:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
                                              ~~~~^~~~~~
/in/foo.cc:7:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
                                                          ~~~~~~~^~~~~~~~~
/in/foo.cc:7:82: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
                                                                              ~~~~^~~~~~
/in/foo.cc:7:97: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
                                                                                          ~~~~~~~^~~~~~~~~
/in/foo.cc:7:114: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
                                                                                                              ~~~~^~~~~~
/in/foo.cc:7:129: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
                                                                                                                          ~~~~~~~^~~~~~~~~
/in/foo.cc:7:144: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
                                                                                                                                            ~~~~^~~~~~
/in/foo.cc:7:156: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (a == 0 && b == 2 || a == 0 && b == 3 || a==1&&b==0||a == 1 && b == 3 || a==2&&b==1||a == 2 && b == 4 || a==3&&b==2||a == 3 && b == 4||a==4&&b==0||a==4&&b==1)return 1;
                                                                                                                                                        ~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 212.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 212.0 KiB
#6 Accepted 1ms 220.0 KiB
#7 Accepted 2ms 212.0 KiB
#8 Accepted 1ms 220.0 KiB
#9 Accepted 1ms 212.0 KiB
#10 Accepted 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1140 生活大爆炸版 石头剪刀布
比赛
南京师范大学算法竞赛之2020年寒假战“疫”系列赛Round4 总第74期赛
语言
C++
递交时间
2020-03-07 16:42:59
评测时间
2020-03-07 16:42:59
评测机
分数
100
总耗时
16ms
峰值内存
220.0 KiB