记录详情

Wrong Answer

/in/foo.cc: In function 'int judgea()':
/in/foo.cc:23:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(f[0][0]='.'&&f[0][1]=='0'&&f[0][2]=='0'&&f[1][0]=='X')print(4);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:24:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(f[0][0]='0'&&f[0][1]=='0'&&f[0][2]=='.'&&f[1][0]=='X')print(4);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:25:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(f[0][0]='0'&&f[0][1]=='.'&&f[0][2]=='.'&&f[0][2]==f[1][2])print(4);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 320.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 316.0 KiB
#4 Wrong Answer 1ms 316.0 KiB
#5 Accepted 1ms 208.0 KiB
#6 Accepted 1ms 316.0 KiB
#7 Accepted 1ms 320.0 KiB
#8 Wrong Answer 1ms 204.0 KiB
#9 Wrong Answer 1ms 316.0 KiB
#10 Accepted 1ms 312.0 KiB

信息

递交者
类型
递交
题目
1# 井字棋
题目数据
下载
语言
C++
递交时间
2018-11-07 19:08:19
评测时间
2018-11-07 19:08:20
评测机
分数
60
总耗时
15ms
峰值内存
320.0 KiB