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
100099 2279485 6367914 3767969 5839887 5013968 8792122 9698522 876026 6551260 1942667 885965 796217 151448 9410320 8711447 7332714 8337904 9758746 884774 3350309 1916163 7116915 114735 1237826 1988910 9888202 938638 918374 9641443 9774118 3372446 8390713 998937 9242677 839548 1330460 2471735 5159657 2338774 228597 1655991 6483390 1374715 656824 7417389 6852864 37548 8618833 8950527 246175 1293339 3966367 9190885 8748859 682670 692352 341352 5754167 8642114 5995817 6844838 2672382 4476355 6455569 1489793 2598816 7958354 1172281 6087992 5734868 7684446 139221 1633687 52266 7248109 1314806 306668 1966126 417461 414438 2945305 6961954 093736 3247734 2398805 2634657 5989697 263378 8887792 6532514 9840783 2227186 5457372 813262 276106 5699149 2452403 3511413 263996 2939796 2139742 3198659 6811438 133640 8696920 6740648 788427 613217 148485 622377 8755315 8710336 7375527 2927229 3437128 767793 7486770 7929429 3867915 6234177 7670862 2821349 2189329 640607 4673555 1016513 9284223 4150708 3660694 3323575 9988655 24977
JOJ Answer
Shortest path length is 483 The graph is not a DAG The total weight of MST is 5566