정답 개수:
4
틀린 개수:
0
실행 실패 개수:
22
4 4 5 64141 39615 74152 55299 1 2 1 3 1 4 2 3 2 4 1 4 5 10776 69984 815 30838 1 3 1 4 2 3 2 4 3 4 3 4 5 68021 34887 11599 32317 1 2 1 3 1 4 2 4 3 4 4 4 5 78259 6310 82122 53891 1 2 1 4 2 3 2 4 3 4 4
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/target/Main.py", line 30, in <module> result.append(longest_path(w) + weight[w - 1]) File "/tmp/target/Main.py", line 18, in longest_path memo[end] = max( ValueError: max() arg is an empty sequence
64141 70799 135225 220582
3 28 119 33999 83983 66007 84773 83765 21129 80851 69399 45004 73671 35492 89827 80053 55948 79846 69815 53577 52373 78134 13456 68186 13140 8575 51983 35085 70152 26306 49253 1 2 1 3 1 6 1 7 1 8 1 12 1 14 1 15 1 23 1 26 1 27 2 6 2 7 2 10 2 13 2 15 2 17 2 19 2 26 2 27 2 28 3 4 3 6 3 13 3 19 3 26 3 28 4 7 4 9 4 12 4 13 4 14 4 15 4 21 4 22 4 24 4 28 5 6 5 7 5 9 5 13 5 14 5 15 5 16 5 18 5 21 5 23 5 28 6 8 6 15 6 16 6 20 6 21 6 22 7 10 8 11 8 14 8 17 8 18 8 21 8 24 9 10 9 12 9 17 9 19 9 26 9 28 10 17 10 19 10 20 10 25 10 27 11 14 11 16 11 19 12 20 12 21 12 22 12 23 12 24 12 25 13 14 13 21 13 23 13 24 13 27 14 15 14 21 14 25 14 28 15 17 15 22 15 23 15 26 16 19 17 20 17 21 17 24 17 26 18 20 18 22 18 24 18 25 18 28 19 23 19 24 19 26 19 27 19 28 20 23 20 24 20 25 20 26 22 23 22 25 22 26 23 24 23 27 23 28 9 28 119 60169 5912 17670 63882 97068 9627 61443 39444 83086 51077 84902 95533 2279 67212 92750 70078 19163 78998 40826 60017 6838 74745 26402 43616 9997 20124 49248 32015 1 4 1 10 1 18 1 19 1(...truncated)
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/target/Main.py", line 30, in <module> result.append(longest_path(w) + weight[w - 1]) File "/tmp/target/Main.py", line 19, in longest_path [ File "/tmp/target/Main.py", line 21, in <listcomp> longest_path(leaf) + weight[leaf - 1] File "/tmp/target/Main.py", line 18, in longest_path memo[end] = max( ValueError: max() arg is an empty sequence
229783 620206 205677
5 41 118 86977 50870 94005 34130 34489 24307 44485 38531 65399 35032 44845 8768 91010 96855 32705 55510 41968 38066 69230 73721 927 49971 25553 57227 19898 63055 15182 18571 42715 8187 88375 17425 86304 93615 73766 58537 67680 92013 58079 3296 36799 1 20 1 22 1 30 1 31 1 32 2 18 3 4 3 34 3 36 3 41 4 10 4 12 4 17 4 18 4 28 4 34 5 18 5 22 5 25 5 34 5 37 5 38 6 11 6 16 6 20 6 21 6 32 7 9 7 10 7 20 7 38 8 12 8 29 8 32 8 35 9 24 9 27 9 31 9 40 10 17 10 28 10 33 10 40 11 21 11 23 11 25 12 21 12 23 13 16 13 18 13 37 13 38 13 40 14 15 14 16 14 18 14 19 14 24 14 31 14 39 15 16 15 17 15 19 15 27 15 29 16 29 17 18 17 20 17 21 17 22 17 31 18 21 18 23 18 28 18 29 18 40 18 41 19 23 19 27 19 29 19 34 19 38 19 41 20 24 20 28 20 37 21 24 21 25 21 33 22 28 22 33 22 37 23 28 23 32 23 33 23 38 24 25 24 39 24 41 25 33 25 37 26 31 26 32 26 37 26 40 27 40 28 30 30 32 30 38 31 32 31 37 33 35 34 39 35 36 36 39 37 38 37 39 38 39 24 41 118 4041 32152 76893 53736 32507 95829 74291 19429 52966 45452 34123 13395 70(...truncated)
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/target/Main.py", line 30, in <module> result.append(longest_path(w) + weight[w - 1]) File "/tmp/target/Main.py", line 19, in longest_path [ File "/tmp/target/Main.py", line 21, in <listcomp> longest_path(leaf) + weight[leaf - 1] File "/tmp/target/Main.py", line 19, in longest_path [ File "/tmp/target/Main.py", line 21, in <listcomp> longest_path(leaf) + weight[leaf - 1] File "/tmp/target/Main.py", line 18, in longest_path memo[end] = max( ValueError: max() arg is an empty sequence
336083 64659 346767 429971 375116