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. 13034 36 -1277 -1277 -319 5023 -356 -2253 -2818 -1203 -3720 14910 1240 2528 3143 4352 -8069 -7182 -2769 -1151 1279 -4612 INF -2151 INF -5712 -1731 -1006 -4948 9667 -2135 3418 -4761 -3388 -2431 725 -1471 -526 1777 3087 1052 -3663 -4973 2125 INF -4623 1339 -1154 2107 1847 2324 -4833 -1920 -7385 87 6589 5906 -4355 -2212 -3342 1945 954 2365 -6868 -1102 782 579 -6144 8286 1171 3061 15938 1891 4521 -2046 6020 -2984 -5886 1812 -7013 -865 -318 3906 4068 -2217 -2023 691 1418 -7067 84 1382 1864 -895 3872 3855 691 -1573 5053 -2325 1198 -4168 7290 -3641 3210 -4200 -2972 3897 -3523 0 -1071 1528 2304 -49 63 4666 194 -6420 5550 -549 1175 -3234 -3898 4327 2435 -4923 4074 -1618 8548 -2179 -774 -881 2339 -1956 -2106 -4715 -2700 4313 -588 807 -6192 3852 -52 -8079 2368 -3277 -524 -8183 -823 -1579 -7981 -3007 -4279 -6111 -248 1557 454 -2291 -2939 2856 -10 1829 607 -745 -3230 30 6234 3291 -2031 -2578 -1215 2001 1746 -8959 -7152 -2166 -8069 124 2731 -1038 -2086 -793 6497 -3871 3956 -3877 3399 6456 -65 -9603
JOJ Answer
Invalid graph. Exiting.