/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In function 'void moveAnt(int)':
/in/foo.cc:77:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(tx=cx+ax[i]<0||cx+ax[i]>n||cy+ay[i]<0||cy+ay[i]>m) continue;
      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:87:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    if(tx=cx+bx[i%4]<0||cx+bx[i%4]>n||cy+by[i%4]<0||cy+by[i%4]>m) continue;
       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.297 MiB
#2 Wrong Answer 115ms 2.305 MiB
#3 Wrong Answer 179ms 2.316 MiB
#4 Accepted 3ms 2.305 MiB
#5 Wrong Answer 4ms 2.301 MiB
#6 Wrong Answer 2ms 2.305 MiB
#7 Wrong Answer 71ms 2.301 MiB
#8 Wrong Answer 102ms 2.301 MiB
#9 Wrong Answer 3ms 2.316 MiB
#10 Wrong Answer 20ms 2.305 MiB

信息

递交者
类型
递交
题目
杀蚂蚁antbuster
语言
C++
递交时间
2017-10-10 17:34:39
评测时间
2017-10-10 17:34:39
评测机
分数
20
总耗时
507ms
峰值内存
2.316 MiB