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, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
384 300 291 285 515 327 364 703 366 330 211 389 415 572 391 95 519 582 455 325 370 532 542 417 373 341 137 705 350 492 658 206 275 274 392 213 245 500 910 548 398 350 492
JOJ Answer
Invalid graph. Exiting.