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
INF 4066 -7061 -2380 -1241 670 -4716 INF 3160 -6307 -3664 389 -5517 -1460 INF -3778 -4627 -3816 -703 -1341 -4594 136 -11202 INF -12041 -3267 -2759 -6971 -2727 INF INF -5140 3559 -8141 -3855 INF -3732 512 3789 -2078 -4533 657 -3664 -4637 -9061 -245 -7142 -8205 -3809 INF -4426 -7625 INF INF -2134 -5021 -1714 -2878 -3003 -3442 -9928 -2911 -3857 1020 -10549 INF -4492 2711 82 -5938 INF -6173 -3099 -3818 -981 -3659 3859 -1741 -5214 -2043 1006 -6068 4167 -2706 1512 -8820 3446 -8129 -11169 750 INF INF -1306 INF -4312 2484 -8479 6603 -430 -3092 INF -4295 -3733 -2674 21 -2445 -7292 7145 3527 INF INF 2653 INF -2090 -3471 -413 -4169 INF -5128 -2736 INF -4129 685 -6841 -6123 -430 -2266 INF -6846 INF -2887 -9070 -11498 -9337 -4637 -3449 -2237 -3178 3291 INF -4474 2407 INF INF -3122 -9302 -2631 -2012 8207 -6913 -4395 -1650 INF -1245 -1099 -5803 -2055 -8391 793 INF -4080 272 -12215 -2554 -6548 -4807 2116 3375 -11160 3378 -1537 INF -14772 -7456 INF INF -4763 -748 -11754 -297 -2088 795 1448 -6284 -5626 -4047 -5882 -3900 -4221
JOJ Answer
Invalid graph. Exiting.