Minimum Difficulty
496A900· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
31 4 6
Output
5
Sample 2of 3
Input
51 2 3 4 5
Output
2
Sample 3of 3
Input
51 2 3 7 8
Output
4
58%
496A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
31 4 6
5
51 2 3 4 5
2
51 2 3 7 8
4