cf/mirror

Traveling Salesman Problem

CF
1713A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
4
0 -2
1 0
-1 0
0 2
3
0 2
-3 0
0 -1
1
0 0
Output
12
12
0
1713A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)