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

31 98 659
68 11 438
13 3 640
86 96 920
67 40 648
78 84 27
6 13 217
14 84 85
62 23 77
87 55 315
87 10 336
73 75 527
29 27 229
34 37 128
76 7 793
74 86 770
79 29 429
38 67 915
62 34 177
76 70 862
28 21 349
21 89 329
6 40 607
46 73 555
10 16 513
92 84 223
41 50 708
36 60 694
33 23 575
99 88 655
24 97 747
96 59 753
53 32 136
15 55 321
52 33 908
96 16 64
52 74 904
33 53 504
28 6 972
56 38 741
56 30 792
92 59 307
38 71 827
89 96 331
62 72 423
84 21 949
78 97 110
16 35 688
93 40 180
24 90 113
92 82 611
56 79 661
93 39 970
72 67 738
45 89 508
55 25 951
8 19 411
80 53 428
71 49 545
80 98 42
96 50 270
39 38 84
4 14 484
46 9 593
36 28 621
52 19 792
38 75 188
70 92 916
73 69 57
91 53 488
50 21 945
72 31 81
11 43 328
58 22 192
81 57 60
63 69 984
71 59 270
35 87 767
56 71 420
23 62 953
57 13 844
27 98 991
82 75 165
97 33 246
49 80 884
66 55 588
79 26 74
68 71 121
79 67 495
68 35 165
91 86 588
9 58 787
15 53 916
81 93 858
81 87 907
76 80 552
25 92 697
42 46 924
24 10 450
66 40 872
Shortest path length is 483
The graph is no

JOJ Answer

Shortest path length is 483
The graph is not a DAG
The total weight of MST is 5566