cf/mirror

Nearest Minimums

CF
911A1100· newbie2s256 MB⌨ stdin/stdout

Examples

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