Approximating a Constant Range
602B1400· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
51 2 3 3 2
Output
4
Sample 2of 2
Input
115 4 5 5 6 7 8 8 8 7 6
Output
5
58%
602B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
51 2 3 3 2
4
115 4 5 5 6 7 8 8 8 7 6
5