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
-2917 -2887 1098 3593 2895 1843 -2324 -2676 -2875 -169 1810 649 45 -5295 420 3709 -2349 -6080 -3315 1888 -2212 1035 -4078 -942 20 -1614 -1101 719 -3257 271 -1792 -265 INF 2138 -2694 -456 1720 INF 4761 1475 961 1062 -270 -2892 -1370 -1432 -3058 1898 -2482 -7352 -995 107 -7 792 -1672 1198 -577 3006 -739 -2656 829 -152 -2188 -485 1338 -3802 -1631 1454 2660 -203 -2364 1250 757 385 1432 -1922 1683 -2553 1610 -5152 342 -825 -1246 2591 2034 -1645 1705 1732 -1688 2324 -2954 -5642 2021 1010 -709 3469 1549 308 -1067 5694 1139 2225 1648 -1115 -4528 -1718 -720 2500 -319 1254 -1628 -1324 2006 1139 873 -502 438 -1036 699 -1199 -692 532 -1430 -2415 2389 -1605 24 -2850 -2392 274 1076 750 1527 -4393 -315 2343 654 1777
JOJ Answer
Invalid graph. Exiting.