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
3651 3693 869 8622 3939 676 4701 5334 561 5304 8220 472 885 5920 328 4009 4740 470 7215 2564 199 7108 8063 786 276 2866 777 3898 8297 475 4815 1386 366 942 6953 665 8472 7090 632 4393 414 723 1487 8339 725 4782 4731 704 3313 1531 189 9489 8765 478 8868 5691 608 9974 3349 65 3338 711 588 9359 4274 593 9179 4524 404 415 7758 242 2816 8573 817 2137 9964 363 4877 868 49 1594 7417 725 118 1141 945 4016 8840 862 5872 8110 133 63 6785 471 7069 2160 475 6398 2082 682 9286 8333 332 4258 4845 558 3684 9531 342 6568 5890 605 6220 8700 260 9459 7280 768 4708 6085 974 4309 1756 318 5044 7686 495 4505 1526 937 8230 9527 913 137 6428 688 9233 2248 123 3824 5429 907 2825 7158 49 3399 8847 392 5675 6648 790 6008 9400 525 5231 6471 376 4940 4077 583 3550 5233 322 5023 5761 395 3366 3698 200 8954 4003 433 2304 4430 51 1864 4933 601 5657 9544 482 179 5733 160 8932 6889 656 8845 1317 418 4626 4874 776 3368 4780 4 3138 9621 158 2612 2635 789 2913 3311 682 3215 4936 270 5157 1170 388 1094 7400 469 1009 3348 731 3685 7852 928 8065 5
JOJ Answer
Shortest path length is 949 The graph is not a DAG The total weight of MST is 601736