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 0125 0220 133 1423 257 260 370 3825 496 41015 51124 5120 6131 61422 71528 7167 8172 81824 9197 92017 102113 102217 112313 112423 122512 12263 132722 132822 14297 143016 153119 15320 16333 163421 173518 173622 183724 18382 193929 194020 204120 20420 214322 214429 224510 224623 23476 234823 244916 245012 255119 25520 265325 265410 275526 27562 285727 285821 295910 29609 30611 306227 316322 31648 32656 326626 336723 336824 346919 34700 357115 35728 367315 367412 37753 377615 387715 38782 397914 398022 40811 408222 418313 41846 428515 428628 438716 43881 448912 449013 459118 459213 46932 469423 479514 479622 489724 48983 499913 4910013 501015 5010215 5110321 5110429 521050 5210612 5310716 531080 5410920 541104 5511111 5511218 5611325 561142 5711523 571163 5811722 5811812 5911925 5912023 6012117 6012227 611236 611240 6212528 6212618 6312724 631282 6412925 6413029 6513119 6513220 6613328 661346 671358 6713621 6813727 6813818 6913922 6914014 701415 7014222 7114324 7114414 7214523 7214623 731474 7314823 74149
JOJ Answer
Shortest path length is 110 The graph is a DAG The total weight of MST is 2938