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

1245 6006 949
6598 4355 288
3240 9240 111
1661 4491 675
6700 6792 757
6428 1373 957
7898 6925 847
6558 2850 367
9297 991 498
4535 9516 873
5575 8121 110
8651 9504 84
9972 770 759
9979 7350 804
2067 2935 427
7361 1402 311
4349 8702 680
5788 6376 323
1061 7521 633
3459 2901 911
940 3016 782
9140 7341 794
1822 8204 578
1967 4980 890
1824 7096 451
1566 1049 499
5727 833 840
8746 8845 397
6391 1322 389
5074 4585 75
1571 6860 577
6074 7424 816
5021 4087 185
2300 3753 625
6459 5597 564
5688 7100 317
9263 4318 617
4873 6068 855
6047 3389 42
6864 8225 271
3412 3249 502
7108 2153 794
7470 1709 664
5919 4970 189
8297 8979 617
1518 6471 537
3488 4693 984
7689 4527 373
2694 7007 147
4923 6505 716
178 5023 423
7485 2103 303
6917 3013 218
1978 929 832
4515 4064 739
1595 2777 279
4949 4317 88
3977 6401 771
3503 9610 733
3540 5025 92
7508 6121 515
420 2712 291
1409 8352 404
6547 9089 215
7049 8400 642
2216 1659 559
379 6662 521
5411 3939 466
5801 3328 603
854 2114 680
8397 6009 859
4182 7451 75
3578 4592 81
5324 9036 351
3301

JOJ Answer

Shortest path length is 2086
The graph is not a DAG
No MST exists!