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

52 18 469
44 3 337
66 80 791
18 42 51
63 60 369
70 27 642
38 33 440
55 33 36
10 27 159
54 16 851
23 82 547
95 9 773
38 81 217
33 28 378
87 36 146
4 41 276
85 79 865
83 78 478
40 15 377
45 0 568
24 73 267
51 59 927
97 3 353
36 0 744
57 4 730
17 43 918
34 29 455
0 22 595
59 48 713
29 27 326
48 47 469
0 26 27
33 6 279
37 81 641
79 5 874
90 67 157
93 67 965
80 51 926
39 26 893
21 45 90
99 95 603
61 42 778
63 27 809
52 51 134
52 78 976
90 12 64
47 15 555
5 85 982
80 35 506
24 90 957
5 90 633
48 95 426
75 3 524
21 50 449
83 76 330
43 61 513
17 44 840
74 47 324
3 12 815
48 65 367
91 8 721
84 19 48
2 99 510
50 28 472
53 35 145
6 26 891
59 94 29
42 96 329
25 68 644
77 0 43
30 37 820
29 42 386
5 62 371
72 83 139
87 58 991
55 44 881
67 40 820
86 20 72
76 52 293
69 63 550
43 14 285
24 45 543
91 35 444
98 94 612
1 94 184
68 51 905
28 22 638
53 14 191
60 18 353
21 88 261
82 56 264
25 22 326
53 63 909
7 40 482
15 80 772
49 71 559
2 47 286
65 42 370
37 8 760
63 36 912
16 98 809
2 27 325
43 47 409
30 47 17
42 1 28
86 78 784
7

JOJ Answer

Shortest path length is 929
The graph is not a DAG
The total weight of MST is 12237