정답 개수:
76
틀린 개수:
0
실행 실패 개수:
24
4 5 3 4 2 4 2 10 2 1 99 3 2 22 2 3 35 3 1
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "Main.py", line 27, in <module> print(dfs(at,to, 0)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) [Previous line repeated 995 more times] File "Main.py", line 16, in dfs if at == to: RecursionError: maximum recursion depth exceeded in compari(...truncated, total 503 characters)
111
6 5 1 6 3 6 5 46 2 1 98 6 1 54 4 5 21 1 5
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "Main.py", line 27, in <module> print(dfs(at,to, 0)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) [Previous line repeated 995 more times] File "Main.py", line 16, in dfs if at == to: RecursionError: maximum recursion depth exceeded in compari(...truncated, total 503 characters)
49
9 5 5 6 57 5 3 51 7 4 38 9 6 59 3 5 9 5 6
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "Main.py", line 27, in <module> print(dfs(at,to, 0)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) File "Main.py", line 23, in dfs total_cost.append(dfs(next, to, cost + pay)) [Previous line repeated 995 more times] File "Main.py", line 16, in dfs if at == to: RecursionError: maximum recursion depth exceeded in compari(...truncated, total 503 characters)
57