Recover Polygon (hard)
690B32600· international gm5s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
8 192 3 2 4 2 5 3 3 3 5 4 3 4 5 4 6 5 2 5 3 5 6 6 2 6 3 6 4 6 5 6 6 6 7 7 6 7 75 82 2 2 3 2 4 3 2 3 4 4 2 4 3 4 40 0
Output
42 32 46 65 242 22 33 33 2
58%
690B3.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)