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
92 71 842 90 68 911 27 84 144 67 97 699 69 43 197 3 90 61 79 14 971 97 90 385 52 92 278 24 6 132 21 5 494 35 93 886 43 73 582 75 54 981 43 60 135 67 81 792 36 2 183 68 58 732 21 23 902 67 38 732 2 33 186 7 11 823 14 56 109 96 21 422 88 50 496 86 54 828 84 35 725 28 22 658 90 3 917 28 27 121 30 68 83 20 4 124 55 20 456 77 74 384 39 7 435 16 75 930 30 3 715 70 78 717 39 58 805 79 36 899 45 63 199 32 82 701 76 43 97 84 0 337 90 99 619 89 37 218 8 81 469 59 46 452 0 51 399 25 90 704 43 85 605 86 71 239 17 3 69 3 26 791 78 85 681 15 68 949 84 33 455 67 57 490 53 58 618 0 67 202 90 30 613 76 59 270 46 3 488 93 57 970 21 36 444 35 16 830 88 90 423 9 72 556 95 41 355 39 61 906 81 22 118 43 36 236 50 17 443 40 89 947 19 37 329 92 5 575 99 48 691 5 61 122 70 22 932 85 52 610 89 47 641 42 7 700 42 54 668 69 93 450 73 64 233 60 32 166 7 96 605 85 19 962 53 20 752 73 95 617 39 78 785 19 73 673 97 6 225 21 91 318 39 49 361 11 91 489 16 18 826 50 2 197 89 36 812 66 97 762 Shortest path length is 54 The graph is not a DAG Th
JOJ Answer
Shortest path length is 54 The graph is not a DAG The total weight of MST is 724