cf/mirror

Optimal Polygon Perimeter

CF
1044C2100· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
4
2 4
4 3
3 0
1 3
Output
12 14
Sample 2of 2
Input
3
0 0
0 2
2 0
Output
8
1044C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)