记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  else if(b==1&&y==19||b==19&&y==1) cout<<min(a+x+16,56-a-x),exit(0);
          ~~~~^~~~~~~
/in/foo.cc:12:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  else if(a==1&&x==19||a==19&&x==1) cout<<min(b+y+16,56-b-y),exit(0);
          ~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 256.0 KiB
#2 Accepted 3ms 380.0 KiB
#3 Accepted 4ms 372.0 KiB
#4 Accepted 4ms 364.0 KiB
#5 Accepted 4ms 356.0 KiB
#6 Accepted 3ms 364.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 3ms 368.0 KiB
#9 Accepted 3ms 336.0 KiB
#10 Accepted 3ms 364.0 KiB

信息

递交者
类型
递交
题目
小 X 与机器人 (betago.*)
题目数据
下载
语言
C++
递交时间
2018-10-15 21:17:06
评测时间
2018-10-15 21:17:06
评测机
分数
100
总耗时
40ms
峰值内存
384.0 KiB