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

25 48 559
23 10 14
34 64 144
55 6 227
73 77 155
65 57 422
31 37 722
78 9 522
98 60 729
41 3 479
9 20 660
78 84 464
66 35 295
89 60 605
5 56 184
7 69 650
4 85 889
18 87 630
83 76 419
25 45 660
71 58 559
14 21 901
11 88 194
31 59 770
29 2 97
22 65 256
0 36 902
92 90 345
33 68 947
49 12 225
85 59 241
31 7 842
39 56 117
96 91 918
11 8 777
46 49 970
39 98 582
80 47 804
89 64 333
80 20 837
26 87 594
9 76 539
29 98 831
0 17 694
21 93 784
39 7 390
37 87 284
3 75 889
18 66 339
14 56 537
36 38 316
26 61 844
10 39 927
18 6 905
57 91 675
59 46 537
33 38 463
45 35 513
50 74 803
38 43 682
70 27 533
77 40 807
71 81 442
85 6 832
30 69 229
97 64 240
81 38 931
6 67 96
95 98 300
21 36 965
88 67 568
35 54 242
26 45 364
89 36 443
13 80 811
77 26 609
63 31 142
11 86 121
64 16 704
92 86 314
51 3 977
1 76 289
96 56 708
43 60 649
87 98 28
57 73 858
65 42 207
72 93 784
20 86 519
5 70 774
69 58 851
83 81 278
18 2 71
32 11 762
16 86 554
47 93 261
73 21 812
12 70 462
12 26 15
48 61 22
76 95 181
78 16 731
96 36 861
34 90 794
45 90 576
94 

JOJ Answer

Shortest path length is 2
The graph is not a DAG
The total weight of MST is 571