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
1000009999 62073514940 58284470842 97721713550 94343262438 78963775894 19046490637 35642171176 28502914298 4741508383 81419357651 4289738727 11023829564 75131253575 58285054491 56303920551 30772253457 44124555798 78623525231 45024834182 25698215263 98794650475 27477161242 22509625 83606781283 63343633678 23148829514 60834038414 73571316267 43392042983 47227353326 44801143163 183708693 7513739076 64165196135 80404523458 30342197141 8482762948 694588951 8856402122 50604517900 53139064843 14661977341 38511526948 9599690433 609471358 9675946015 46784073130 81866755821 4896007624 29018081744 1653413437 51071191212 16468605918 986699861 50016696140 43974682975 50695446109 50935250671 41847028293 95348303221 54294845538 18123821526 36968456248 76677233742 684060929 5159876590 58589913784 8622675460 95381055715 1200980802 71938871738 29401925294 37579106386 69679893121 67378134177 51404083212 54468509545 62598128638 904791510 18846875734 6837609496 72401053705 57397609629 31039247712 96313587202 17645952811 155991468
JOJ Answer
Shortest path length is 114 The graph is not a DAG The total weight of MST is 59857