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
6207 3514 940 5828 4470 842 9772 1713 550 9434 3262 438 7896 3775 894 1904 6490 637 3564 2171 176 2850 2914 298 4741 5083 83 8141 9357 651 4289 738 727 1102 3829 564 7513 1253 575 5828 5054 491 5630 3920 551 3077 2253 457 4412 4555 798 7862 3525 231 4502 4834 182 2569 8215 263 9879 4650 475 2747 7161 242 2250 9 625 8360 6781 283 6334 3633 678 2314 8829 514 6083 4038 414 7357 1316 267 4339 2042 983 4722 7353 326 4480 1143 163 18 3708 693 7513 7390 76 6416 5196 135 8040 4523 458 3034 2197 141 8482 762 948 6945 8895 1 8856 402 122 5060 4517 900 5313 9064 843 1466 1977 341 3851 1526 948 959 9690 433 609 4713 58 9675 9460 15 4678 4073 130 8186 6755 821 489 6007 624 2901 8081 744 165 3413 437 5107 1191 212 1646 8605 918 986 699 861 5001 6696 140 4397 4682 975 5069 5446 109 5093 5250 671 4184 7028 293 9534 8303 221 5429 4845 538 1812 3821 526 3696 8456 248 7667 7233 742 6840 6092 9 515 9876 590 5858 9913 784 8622 6754 60 9538 1055 715 1200 980 802 7193 8871 738 2940 1925 294 3757 9106 386 6967 9893 121 6737 8134 177
JOJ Answer
Shortest path length is 114 The graph is not a DAG The total weight of MST is 59857