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

542
170173
2147483647 512 1415 4757 1266 3705 2147483647 2297 1305 2147483647 2825 922 2147483647 2138 4248 2147483647 508 3492 3171 3084 89 2147483647 619 3792 2147483647 3129 2147483647 2147483647 4624 1552 2147483647 2147483647 2147483647 1387 2870 2147483647 4377 795 3518 374 3019 2147483647 3517 665 2147483647 2147483647 1858 3043 2147483647 2623 -877 2147483647 3024 2147483647 -2292 776 4264 3282 909 1134 2147483647 2147483647 2147483647 2147483647 2147483647 3345 930 2147483647 1039 1417 2147483647 2147483647 1260 2147483647 298 4444 2147483647 2147483647 3778 2147483647 2974 1554 861 3838 2840 1915 124 2147483647 2147483647 3231 2147483647 2147483647 1648 4637 2147483647 1341 371 2147483647 3841 2147483647 2147483647 550 4432 182 3600 2147483647 3617 2147483647 4008 -4510 2147483647 2147483647 3724 2147483647 1553 2439 2147483647 2147483647 2678 2147483647 1647 2147483647 967 333 413 1069 2147483647 3565 2324 608 4291 2147483647 3819 737 2147483647 565 2272 2147483647 1086 2147483647 2147483647 1733 1

JOJ Answer

Invalid graph. Exiting.