Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

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

231
29298
2147483647 -3754 2147483647 4622 2147483647 2199 2147483647 2147483647 -979 3335 2147483647 -3203 -2952 2147483647 2147483647 2147483647 -1016 2000 860 1411 1338 2147483647 2147483647 2147483647 2147483647 4087 -1158 2147483647 2147483647 -2544 3313 2147483647 2147483647 -2213 4612 2147483647 2147483647 -3509 2147483647 2147483647 2147483647 630 2147483647 4502 -357 -1653 -1683 2147483647 2147483647 2147483647 3535 3387 -3625 -3302 2147483647 2147483647 2147483647 -4695 2953 4219 4259 -2290 2147483647 2147483647 -2808 4236 73 -96 4360 -62 2147483647 4187 4181 2147483647 2147483647 718 4632 79 2147483647 2147483647 2147483647 2147483647 -3864 2147483647 2147483647 2147483647 2147483647 2234 -293 2147483647 2147483647 2147483647 3084 2147483647 -2913 2147483647 -1481 3905 -1008 906 47 -3810 4724 2147483647 -2226 2147483647 3798 -1363 2147483647 -1117 -201 2147483647 -2292 -622 2147483647 -1118 2147483647 2147483647 -213 -655 2800 2147483647 4407 1302 2147483647 -656 49 -3552 4578 2147483647 2147483647

JOJ Answer

Invalid graph. Exiting.