Notes
This function is in beta test. Please help improve it in the issues
here.
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
10000999 739986756 849560958 479332510 68423796 69192498 984410971 476120674 978927751 97402158 17881738 4182691 79478146 290700178 321964538 388536799 72954013 116681321 406819301 263978258 937633790 745396818 694527705 3781164 603159886 879620534 635313827 882958329 657775722 69150767 391866367 60723961 932254447 757668331 7108672 96472371 546146833 380977697 537188743 826885117 16219688 431365259 876980617 118685540 753740365 718944757 701968580 87422437 835194141 94948998 386477705 413198605 147268898 3415432 985702545 972106601 511963382 395836400 685839209 576633442 313853885 946703136 948825232 4355217 645420606 615872743 584698170 616480726 52244168 188144526 19912658 97628532 255497714 653481789 317929124 214828506 682558 271595325 27229592 71278423 62019977 283386451 131117542 435493687 676331905 484282732 316671349 268720260 365624927 0518569 431656948 8069960 699859792 531104574 828775411 60137337 383147123 510218546 95345684 518930333 1854285 992586488 55173394 83177925 149371797 348711203 261105
JOJ Answer
Shortest path length is 87 The graph is not a DAG The total weight of MST is 6130