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
1009 9343 5369 8698 8537 7917 0110 8482 7352 5717 7631 892 9532 9767 926 0852 0783 2827 1021 201 5186 3493 7578 7455 7242 8760 1712 316 4110 5235 5664 1859 4698 6111 1283 392 1596 1638 9130 696 643 2661 0393 3563 099 6866 5031 0253 3750 2374 2148 0635 807 9449 7885 3625 2747 4090 4535 3836 5989 8231 0453 7190 5443 589 9873 1328 6080 6281 6574 4738 6333 4812 4948 7076 2411 8122 1428 9620 8382 3020 6777 4312 3250 9052 2570 1911 2929 4222 0569 0569 Shortest path length is 9 The graph is not a DAG The total weight of MST is 82
JOJ Answer
Shortest path length is 9 The graph is not a DAG The total weight of MST is 47