/ LZOJ /

记录详情

Runtime Error

/in/foo.cc: In function 'int DFS(int, int)':
/in/foo.cc:27:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<G[u].size();i++)
              ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:74:9: warning: unused variable 'new_n' [-Wunused-variable]
     int new_n=0;
         ^~~~~
/in/foo.cc:50:12: warning: iteration 499 invokes undefined behavior [-Waggressive-loop-optimizations]
     pre2[i]=i;
     ~~~~~~~^~
/in/foo.cc:49:18: note: within this loop
     for(int i=1;i<=maxn;i++)
                 ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 6ms 624.0 KiB
#2 Accepted 29ms 936.0 KiB
#3 Runtime Error 103ms 9.258 MiB
#4 Runtime Error 107ms 1.281 MiB
#5 Runtime Error 114ms 9.289 MiB
#6 Runtime Error 115ms 9.293 MiB
#7 Runtime Error 116ms 9.293 MiB
#8 Accepted 107ms 1.285 MiB
#9 Runtime Error 116ms 9.172 MiB
#10 Runtime Error 110ms 1.301 MiB

信息

递交者
类型
递交
题目
P1178 打击罪犯
语言
C++
递交时间
2020-06-10 20:15:32
评测时间
2020-06-10 20:15:32
评测机
分数
30
总耗时
927ms
峰值内存
9.293 MiB