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. INF -29608 -30039 -21301 -27851 INF -20013 -23205 -17660 -27127 -32760 389 -20756 -1460 -25830 1166 -29336 -3816 -26728 4696 -587 4236 INF -23436 -21512 -26460 INF -27791 -19680 INF -28491 INF -17261 INF -3855 -32479 -23847 -16742 -25193 -27524 -25353 1023 -24484 -4637 -29881 -21065 INF -29025 -23715 INF -25726 -500 INF INF -2134 -31046 -22534 -23579 INF -29467 -23792 -18355 -568 -29629 -27336 INF -23036 -17761 82 -23621 -24887 -29151 3368 -27241 -26430 -3659 -24404 -30485 2736 -2043 1006 -28495 INF -23526 -24513 -18345 -27887 -21875 -868 -25275 INF -10331 INF INF -25241 -25796 -29299 -14217 -29961 -29117 -22432 -24631 -3733 -25520 -22646 -28470 -23553 -26624 -21594 -22446 -23480 -18167 -30014 -28115 -24291 -26438 2860 -28596 -25948 -26175 -26191 -25132 INF 1511 -32148 -430 -24310 -23543 -20145 INF -28912 -13932 -21575 237 -32083 -3449 -29557 INF -26950 INF -29512 -25763 -24378 -19562 -22402 -30122 -22652 -2012 -20529 -28124 -25215 -22588 INF INF -1099 -26623 -22643 INF -23138 INF -226
JOJ Answer
Invalid graph. Exiting.