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
50049 0127 0226 1311 140 250 2619 3723 386 4913 41029 51125 51218 61323 6149 7151 7166 81713 81823 91918 92016 102124 102213 11231 11242 12256 12267 132715 13284 142924 143029 15315 153211 16338 163426 173511 173621 18373 18383 193927 194027 204122 204223 21431 214423 22457 22463 234728 23484 244912 244912 Shortest path length is 65 The graph is a DAG The total weight of MST is 696
JOJ Answer
Shortest path length is 65 The graph is a DAG The total weight of MST is 696