/ new_bzoj /

记录详情

Runtime Error

/in/foo.cc: In function 'void attack()':
/in/foo.cc:142:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
      if ((ant[i].y-y[k])*(ant[i].y-ant[wei].y)<0&&ant[i].x==x[k])
      ^~
/in/foo.cc:144:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (ant[i].blood<0) mayi--;
       ^~
/in/foo.cc:150:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
      if ((ant[i].x-x[k])*(ant[i].x-ant[wei].x)<0&&ant[i].y==y[k])
      ^~
/in/foo.cc:152:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (ant[i].blood<0) mayi--;
       ^~
/in/foo.cc:156:9: warning: 'wei' may be used uninitialized in this function [-Wmaybe-uninitialized]
    check(k,wei);
    ~~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 3ms 312.0 KiB
#2 Time Exceeded ≥5010ms ≥308.0 KiB
#3 Runtime Error 1ms 328.0 KiB
#4 Runtime Error 1ms 308.0 KiB
#5 Time Exceeded ≥5009ms ≥316.0 KiB
#6 Time Exceeded ≥5005ms ≥304.0 KiB
#7 Runtime Error 3ms 312.0 KiB
#8 Runtime Error 3ms 308.0 KiB
#9 Time Exceeded ≥5010ms ≥328.0 KiB
#10 Time Exceeded ≥5002ms ≥308.0 KiB

信息

递交者
类型
递交
题目
杀蚂蚁antbuster
语言
C++
递交时间
2017-10-10 21:10:45
评测时间
2017-10-10 21:10:45
评测机
分数
0
总耗时
25052ms
峰值内存
328.0 KiB