cf/mirror

Minimum Difficulty

CF
496A900· newbie2s256 MB⌨ stdin/stdout

Examples

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