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
2000199 0111 0224 1320 1416 252 266 3722 387 4918 4103 5115 51211 6132 61427 71517 71612 81720 81826 91910 92017 102115 10226 112311 112418 122521 122621 132711 132827 142914 14308 153123 15320 163312 16344 17352 17360 183713 183822 193926 194027 204114 204217 21433 214428 22458 224628 234714 234817 244914 24500 25516 255220 26537 26544 275521 275622 28570 28589 295927 29601 306113 306229 31631 316416 326518 32662 336725 33689 346924 34707 357123 35728 36732 367416 37759 377625 38774 387822 397913 398028 408122 408229 41833 418423 42851 428612 438728 438813 448924 449023 459110 459226 46936 469427 479519 47969 489712 489827 49999 4910020 5010118 501025 5110322 5110413 5210515 5210611 5310711 5310811 5410922 5411013 5511110 551126 5611328 5611412 5711520 5711617 5811726 581187 5911917 5912015 601218 6012210 6112316 611240 6212525 621260 631271 6312829 6412924 6413017 651310 6513212 6613320 6613411 6713523 6713611 681372 6813812 6913919 691401 7014128 701420 7114328 711443 7214524 7214621 7314720 7314824 741491
JOJ Answer
Shortest path length is 82 The graph is a DAG The total weight of MST is 2843