cf/mirror

Chess Placing

CF
985A1100· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
6
1 2 6
Output
2
Sample 2of 2
Input
10
1 2 3 4 5
Output
10
985A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)