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
78 16 731 96 36 861 34 90 794 45 90 576 94 57 501 99 18 190 73 60 121 30 42 207 88 3 778 19 4 462 89 57 85 27 32 909 56 9 682 17 9 143 34 0 290 5 12 113 73 80 39 69 25 586 91 85 18 48 65 973 66 18 989 38 9 947 23 37 100 22 94 113 89 91 273 95 83 74 51 61 436 67 48 213 92 76 605 88 81 510 4 19 587 16 5 531 99 64 6 35 33 105 24 51 156 42 70 154 1 9 536 95 4 798 22 21 66 92 23 952 17 14 936 23 54 618 6 75 402 55 18 488 2 97 135 10 13 540 68 62 502 14 15 967 58 47 74 61 76 839 60 81 68 30 44 825 12 32 951 98 61 988 32 50 997 38 46 664 43 53 855 53 11 537 79 76 452 80 8 679 2 73 434 90 51 269 33 26 742 99 86 836 11 25 996 16 22 939 34 14 201 22 14 307 50 83 273 9 86 72 88 49 300 85 84 530 69 63 838 81 99 581 13 53 728 55 23 771 90 82 776 81 71 898 14 12 7 42 54 374 28 88 409 74 79 556 24 36 322 99 8 218 0 11 134 9 6 360 59 20 294 84 68 672 84 61 674 80 16 99 58 59 240 65 48 176 79 44 761 74 52 269 60 74 232 16 57 607 3 31 611 84 41 503 78 74 493 69 77 769 Shortest path length is 2 The graph is not a DAG The total
JOJ Answer
Shortest path length is 2 The graph is not a DAG The total weight of MST is 571