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
011386 021427 033064 041239 054884 066508 073224 089364 093543 0107644 0113129 0126021 0137681 0142030 0159225 0166046 0174909 0182377 0192263 0207813 0213396 0228556 0236719 0247088 0252356 0266314 0278979 0285251 0292235 030727 0314462 032289 0335859 0344291 0352562 0369426 037101 0384862 0393558 0403076 0415453 0422682 0437301 0446157 0451830 0467364 0478174 0484123 0491811 0503695 0517200 0523755 054122 055728 0562672 057643 0594847 0604557 0613073 0621781 0641103 0653884 0665810 0673562 0691255 0701953 0715197 0727340 0733652 0747752 0753732 0766976 0775576 0784518 0795619 0807710 0813621 0824393 0833341 0846521 085354 0864963 0879189 0883130 0896619 0907093 0911730 0923915 0931244 0942276 0955946 0962144 0971232 0986550 0997279 01004969 01016467 01022854 01033946 0104385 01057979 01068198 01077020 0108688 01094296 01108154 01111738 01121641 01134038 0114336 0115919 01167237 01178302 0118876 01197795 0120128 01218842 01223954 01233189 01246659 01256676 01261583 01277447 01281945 01305972 01319274 0132985
JOJ Answer
316 81 549 252 348 220 322 124 230 396 229 345 231 204 416 264 545 116 341 366 444 300 229 244 315 194 650 245 139 541 223 402 182 244 253 211 342 237