记录详情

Accepted

/in/foo.cc: In function 'bool get(int)':
/in/foo.cc:12:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if( a[0][0]==a[1][1]&&a[1][1]==a[2][2]&&a[1][1]==k||
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:14:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   a[0][0]==a[0][1]&&a[0][1]==a[0][2]&&a[0][1]==k||
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:15:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   a[1][0]==a[1][1]&&a[1][1]==a[1][2]&&a[1][1]==k||
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:16:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   a[2][0]==a[2][1]&&a[2][1]==a[2][2]&&a[2][1]==k||
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:17:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   a[0][0]==a[1][0]&&a[1][0]==a[2][0]&&a[1][0]==k||
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:18:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   a[0][1]==a[1][1]&&a[1][1]==a[2][1]&&a[1][1]==k||
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:19:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   a[0][2]==a[1][2]&&a[1][2]==a[2][2]&&a[1][2]==k) return 1;
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string work()':
/in/foo.cc:25:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(win1&&win2||cnt1-cnt2!=0&&cnt1-cnt2!=1) return "illegal";
     ~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 380.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 372.0 KiB
#4 Accepted 2ms 356.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 3ms 372.0 KiB
#8 Accepted 3ms 368.0 KiB
#9 Accepted 2ms 340.0 KiB
#10 Accepted 3ms 364.0 KiB

信息

递交者
类型
递交
题目
Tic-tac-toe (tic.*)
题目数据
下载
语言
C++
递交时间
2018-10-15 10:57:01
评测时间
2018-10-15 10:57:01
评测机
分数
100
总耗时
32ms
峰值内存
384.0 KiB