/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In member function 'void _game::init()':
/in/foo.cc:64:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   n = m = over = target = turretcnt = damage = radius = antcnt = antsum = 0;
                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:111:7: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int dir, maxinfo = -1, x = ant[id].x, y = ant[id].y;
       ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 211ms 256.0 KiB
#3 Accepted 72ms 256.0 KiB
#4 Accepted 3ms 344.0 KiB
#5 Wrong Answer 5ms 256.0 KiB
#6 Accepted 3ms 328.0 KiB
#7 Accepted 5ms 256.0 KiB
#8 Accepted 12ms 256.0 KiB
#9 Accepted 2ms 380.0 KiB
#10 Accepted 19ms 340.0 KiB

信息

递交者
类型
递交
题目
杀蚂蚁antbuster
语言
C++
递交时间
2017-08-04 21:14:52
评测时间
2017-08-04 21:14:52
评测机
分数
90
总耗时
341ms
峰值内存
380.0 KiB