/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int printNode(int)':
/in/foo.cc:61:1: warning: no return statement in function returning non-void [-Wreturn-type]
   61 | }
      | ^
/in/foo.cc:23:5: warning: infinite recursion detected [-Winfinite-recursion]
   23 | int printNode(int n) {
      |     ^~~~~~~~~
/in/foo.cc:46:26: note: recursive call
   46 |                 printNode(lRealIdx);
      |                 ~~~~~~~~~^~~~~~~~~~
/in/foo.cc:55:26: note: recursive call
   55 |                 printNode(rRealIdx);
      |                 ~~~~~~~~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 9ms 8.453 MiB
#2 Runtime Error 10ms 8.441 MiB
#3 Runtime Error 10ms 8.422 MiB
#4 Runtime Error 10ms 8.426 MiB
#5 Runtime Error 10ms 8.422 MiB
#6 Runtime Error 10ms 8.246 MiB
#7 Runtime Error 10ms 8.426 MiB
#8 Runtime Error 10ms 8.422 MiB
#9 Runtime Error 10ms 8.258 MiB
#10 Runtime Error 10ms 8.422 MiB

信息

递交者
类型
递交
题目
P1400 cpc的逃离
语言
C++
递交时间
2025-12-22 10:11:48
评测时间
2025-12-22 10:11:48
评测机
分数
0
总耗时
101ms
峰值内存
8.453 MiB