/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int DFS(int)':
/in/foo.cc:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgenode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   31 |     for (int z = 0; z < edge[x].size(); z++)
      |                     ~~^~~~~~~~~~~~~~~~
/in/foo.cc:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
   38 | }
      | ^
/in/foo.cc:27:5: warning: infinite recursion detected [-Winfinite-recursion]
   27 | int DFS(int x)
      |     ^~~
/in/foo.cc:34:25: note: recursive call
   34 |         if (b[y.to]) DFS(y.to);
      |                      ~~~^~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 59ms 12.105 MiB
#2 Memory Exceeded ≥666ms ≥256.0 MiB
#3 Memory Exceeded ≥496ms ≥256.0 MiB
#4 Memory Exceeded ≥352ms ≥256.0 MiB
#5 Memory Exceeded ≥351ms ≥256.0 MiB
#6 Memory Exceeded ≥344ms ≥256.0 MiB
#7 Memory Exceeded ≥344ms ≥256.0 MiB
#8 Memory Exceeded ≥342ms ≥256.0 MiB
#9 Memory Exceeded ≥343ms ≥256.0 MiB
#10 Memory Exceeded ≥338ms ≥256.0 MiB

信息

递交者
类型
递交
题目
P1441 打鼹鼠
语言
C++
递交时间
2025-02-14 15:23:13
评测时间
2025-02-14 15:23:13
评测机
分数
0
总耗时
3638ms
峰值内存
256.0 MiB