记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:30: warning: comparison of constant ''X'' with boolean expression is always false [-Wbool-compare]
   if(a[i][1]=a[i][2]==a[i][3]=='X')
              ~~~~~~~~~~~~~~~~^~~~~
/in/foo.cc:22:21: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[i][1]=a[i][2]==a[i][3]=='X')
              ~~~~~~~^~~~~~~~~
/in/foo.cc:22:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(a[i][1]=a[i][2]==a[i][3]=='X')
                                   ^
/in/foo.cc:27:30: warning: comparison of constant ''O'' with boolean expression is always false [-Wbool-compare]
   if(a[i][1]=a[i][2]==a[i][3]=='O')
              ~~~~~~~~~~~~~~~~^~~~~
/in/foo.cc:27:21: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[i][1]=a[i][2]==a[i][3]=='O')
              ~~~~~~~^~~~~~~~~
/in/foo.cc:27:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(a[i][1]=a[i][2]==a[i][3]=='O')
                                   ^
/in/foo.cc:36:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[1][i]==a[2][i]==a[3][i]=='X')
      ~~~~~~~^~~~~~~~~
/in/foo.cc:36:31: warning: comparison of constant ''X'' with boolean expression is always false [-Wbool-compare]
   if(a[1][i]==a[2][i]==a[3][i]=='X')
      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/in/foo.cc:36:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[1][i]==a[2][i]==a[3][i]=='X')
      ~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:41:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[1][i]==a[2][i]==a[3][i]=='O')
      ~~~~~~~^~~~~~~~~
/in/foo.cc:41:31: warning: comparison of constant ''O'' with boolean expression is always false [-Wbool-compare]
   if(a[1][i]==a[2][i]==a[3][i]=='O')
      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/in/foo.cc:41:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[1][i]==a[2][i]==a[3][i]=='O')
      ~~~~~~~~~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 360.0 KiB
#2 Wrong Answer 6ms 368.0 KiB
#3 Wrong Answer 6ms 356.0 KiB
#4 Wrong Answer 7ms 328.0 KiB
#5 Wrong Answer 7ms 328.0 KiB
#6 Wrong Answer 7ms 348.0 KiB
#7 Wrong Answer 3ms 372.0 KiB
#8 Wrong Answer 4ms 340.0 KiB
#9 Wrong Answer 5ms 352.0 KiB
#10 Wrong Answer 4ms 356.0 KiB

信息

递交者
类型
递交
题目
Tic-tac-toe (tic.*)
题目数据
下载
语言
C++
递交时间
2018-10-20 11:33:01
评测时间
2018-10-20 11:37:12
评测机
分数
0
总耗时
57ms
峰值内存
372.0 KiB