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 235 389 334 309 272 292 294 220 336 332 253 446 210 292 336 291 408 407 124 345 294 241 174 290 277 311 404 363 289 201 406 214 486 264 403 484 101 345 383 224 335 369 310 318 318 500 455 184 240 378 299 309 271 122 251 168 304 396 300 362 404 130 178 379 405 413 387 271 255 174 361 301 469 222 423 427 288 302 159 363 275 219 427 219 291 189 286 485 195 331 289 229 205 269 258 316 255 303 275 321 336 267 241 376 319 484 262 300 279 245 354 365 221 336 235 262 299 169 304 128 485 240 385 355 451 205 280 445 245 312 327 339 372 296 410 440 300 274 283 285 204 240 364 340 298 327 234 332 384 317 332 357 256 451 308 400 351 487 556 358 360 302 366 321 282 279 248 448 233 193 72 0 241 220 147 158 286 291 198 251 177 76 336 96 270 168 240 270 253 196 215 341 288 246 55 163 157 209 278 246 87 272 192 332 115 240 368 173 190 215 17 221 403 213 253 253 367 265 70 126 264 185 195 224 194 121 205 190 213 186 169 290 202 64 265 251 250 210 163 197 60 247 187 360 194 335 297 163 180 45 209 121 105 273
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