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
Invalid graph. Exiting. 5300 275 4716 4984 8495 7912 987 5555 9021 1868 5053 6739 9134 3520 2385 3415 3253 6476 1171 6584 7800 9109 7292 6710 826 4568 6672 4332 2915 6532 8776 777 7318 7405 7282 9522 3805 9111
JOJ Answer
316 81 549 252 348 220 322 124 230 396 229 345 231 204 416 264 545 116 341 366 444 300 229 244 315 194 650 245 139 541 223 402 182 244 253 211 342 237