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
Distance Matrix: 0 1559 555 350 451 475 481 974 1318 452 334 782 825 454 420 471 476 133 388 591 2075 355 323 414 422 750 583 857 0 70 222 74 98 -4 846 941 75 206 405 340 77 43 107 -9 5 11 351 1817 -22 -54 37 45 265 98 1033 1358 0 398 250 274 280 1022 1117 251 382 581 270 253 219 270 -10 181 187 527 1832 -7 122 213 221 264 97 1301 1626 514 0 518 542 440 1290 1385 519 650 849 784 521 487 551 435 449 455 795 1725 422 390 481 489 709 542 783 1108 104 148 0 24 30 772 867 1 132 331 374 3 -31 33 25 -69 -63 277 1743 -96 -128 -37 -16 299 132 759 1084 80 137 -11 0 6 761 843 -23 121 320 350 -21 -42 9 1 -80 -87 253 1719 -120 -152 -48 -40 275 108 861 1186 74 226 78 102 0 850 945 79 210 409 344 81 47 111 -5 9 15 355 1821 -18 -50 41 49 269 102 696 1021 17 61 -87 -63 -57 0 780 -86 45 244 -67 -84 -118 -67 -62 -156 -150 190 1656 -183 -215 -124 -116 212 45 738 241 59 103 -45 -21 -15 727 0 -44 87 286 -25 -42 -76 -25 -20 -114 -108 232 1698 -141 -173 -82 -74 -8 87 782 1195 103 248 100 111 29 872 954 0 232 431 373 90 69 1
JOJ Answer
-10 181 45 -57 205 349 5 909 175 4 292 229 -48 1324 -6 319 10 169 1084 1358 -17 801 154 172 -57 308 213 1173 -25 698 -83 45 375 340 275 1817 276 846 205 551 750 1301 280 988 -80 1041 -120 692 219 378 244 -17 274 343 47 1173 607 104 1240 379 845 260 -37 777 361 -40 -10 2011 -22 373 112 514 135 292 452 -120 167 111 -18 -37 1382 192 867 -114 232 405 -17 328 -19 244 -10 81 185 -68 281 -183 301 1195 -116 332 927 110 759 61 1101 -67 519 1376 229 1763 5 -65 288 212 280 344 110 1772 348 171 1259 152 434 420 -64 1426 -48 139 24 779 218 -116 801 45 106 1324 867 1358 480 232 210 154 595 864 1324 212 24 405 292 311 1318 1108 106 234 1022 252 41 88 1698 126 5 577 179 607 85 801 2337 618 -111 373 -102 498 -173 252 1 132 -32 -215 98 -51 6 435 128 466 93 739 226 -48 -46 162 1088 642 18 279 108 74 455 861 1181 88 555 9 896 493 413 232 121 76 257 493 7 184 1719 240 -20 279 27 30 24 55 219 1028 -69 761 24 1656 -65 857 252 1832 132