Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

0 1 11
0 2 24
1 3 20
1 4 16
2 5 2
2 6 6
3 7 22
3 8 7
4 9 18
4 10 3
5 11 5
5 12 11
6 13 2
6 14 27
7 15 17
7 16 12
8 17 20
8 18 26
9 19 10
9 20 17
10 21 15
10 22 6
11 23 11
11 24 18
12 25 21
12 26 21
13 27 11
13 28 27
14 29 14
14 30 8
15 31 23
15 32 0
16 33 12
16 34 4
17 35 2
17 36 0
18 37 13
18 38 22
19 39 26
19 40 27
20 41 14
20 42 17
21 43 3
21 44 28
22 45 8
22 46 28
23 47 14
23 48 17
24 49 14
24 50 0
25 51 6
25 52 20
26 53 7
26 54 4
27 55 21
27 56 22
28 57 0
28 58 9
29 59 27
29 60 1
30 61 13
30 62 29
31 63 1
31 64 16
32 65 18
32 66 2
33 67 25
33 68 9
34 69 24
34 70 7
35 71 23
35 72 8
36 73 2
36 74 16
37 75 9
37 76 25
38 77 4
38 78 22
39 79 13
39 80 28
40 81 22
40 82 29
41 83 3
41 84 23
42 85 1
42 86 12
43 87 28
43 88 13
44 89 24
44 90 23
45 91 10
45 92 26
46 93 6
46 94 27
47 95 19
47 96 9
48 97 12
48 98 27
49 99 9
49 100 20
50 101 18
50 102 5
51 103 22
51 104 13
52 105 15
52 106 11
53 107 11
53 108 11
54 109 22
54 110 13
55 111 10
55 112 6
56 113 28
56 114 12
57 115 20
57 116 17
58 117 26
58 118 7
59 119 17

JOJ Answer

Shortest path length is 82
The graph is a DAG
The total weight of MST is 2843