记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:40:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[i][1]==a[i][2]==a[i][3]==1)
      ~~~~~~~^~~~~~~~~
/in/foo.cc:40:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[i][1]==a[i][2]==a[i][3]==1)
      ~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:45:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[i][1]==a[i][2]==a[i][3]==2)
      ~~~~~~~^~~~~~~~~
/in/foo.cc:45:31: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare]
   if(a[i][1]==a[i][2]==a[i][3]==2)
      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/in/foo.cc:45:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[i][1]==a[i][2]==a[i][3]==2)
      ~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:53:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[1][i]==a[2][i]==a[3][i]==1)
      ~~~~~~~^~~~~~~~~
/in/foo.cc:53:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[1][i]==a[2][i]==a[3][i]==1)
      ~~~~~~~~~~~~~~~~^~~~~~~~~
/in/foo.cc:58:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[1][i]==a[2][i]==a[3][i]==2)
      ~~~~~~~^~~~~~~~~
/in/foo.cc:58:31: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare]
   if(a[1][i]==a[2][i]==a[3][i]==2)
      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/in/foo.cc:58:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   if(a[1][i]==a[2][i]==a[3][i]==2)
      ~~~~~~~~~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 188.0 KiB
#2 Wrong Answer 1ms 184.0 KiB
#3 Wrong Answer 1ms 204.0 KiB
#4 Wrong Answer 1ms 312.0 KiB
#5 Wrong Answer 1ms 188.0 KiB
#6 Accepted 1ms 204.0 KiB
#7 Accepted 1ms 188.0 KiB
#8 Accepted 1ms 188.0 KiB
#9 Wrong Answer 1ms 204.0 KiB
#10 Accepted 1ms 188.0 KiB

信息

递交者
类型
递交
题目
Tic-tac-toe (tic.*)
题目数据
下载
语言
C++
递交时间
2018-11-07 14:31:20
评测时间
2018-11-07 14:31:20
评测机
分数
40
总耗时
16ms
峰值内存
312.0 KiB