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

22 33 943
32 10 665
66 45 705
64 38 988
66 44 989
99 43 675
46 72 809
17 55 532
45 26 231
70 37 11
88 48 94
8 90 713
61 75 861
15 84 797
13 31 379
94 50 607
53 52 979
94 97 830
59 34 266
17 69 915
39 42 113
67 21 884
61 78 890
82 8 926
5 11 878
74 77 16
30 5 263
74 20 255
34 61 657
83 76 873
25 48 939
4 36 969
25 87 752
42 98 137
76 35 306
29 91 401
20 47 865
14 23 892
52 14 189
30 3 695
34 73 441
8 98 380
39 69 987
38 77 84
78 79 283
80 63 899
94 98 922
35 1 964
53 45 343
43 54 727
32 74 747
3 56 840
9 20 104
99 87 980
23 83 977
31 26 246
81 95 333
85 17 631
81 17 101
94 64 641
29 88 225
23 62 487
76 51 593
10 68 740
11 78 435
17 19 643
10 36 127
11 47 318
28 97 205
78 8 77
55 54 667
55 35 12
86 81 846
98 67 629
6 94 757
35 65 824
15 20 354
32 56 919
29 45 611
83 74 658
68 21 171
61 19 79
3 94 569
39 66 577
5 53 480
2 66 531
94 96 294
44 3 41
40 0 331
55 95 268
63 53 525
38 12 642
73 91 801
30 56 174
40 41 195
8 1 907
11 37 766
47 69 995
16 13 469
No path exists!
The graph is not a DAG
No MST exists!

JOJ Answer

No path exists!
The graph is not a DAG
No MST exists!