/ 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 5ms 364.0 KiB
#2 Runtime Error 3ms 216.0 KiB
#3 Runtime Error 3ms 340.0 KiB
#4 Runtime Error 3ms 368.0 KiB
#5 Time Exceeded ≥5007ms ≥352.0 KiB
#6 Time Exceeded ≥5007ms ≥340.0 KiB
#7 Runtime Error 1ms 332.0 KiB
#8 Runtime Error 2ms 384.0 KiB
#9 Time Exceeded ≥5010ms ≥372.0 KiB
#10 Time Exceeded ≥5007ms ≥384.0 KiB

信息

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