City Day
1199A1000· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
10 2 210 9 6 7 8 3 2 1 4 5
Output
3
Sample 2of 3
Input
10 2 310 9 6 7 8 3 2 1 4 5
Output
8
Sample 3of 3
Input
5 5 5100000 10000 1000 100 10
Output
5
58%
1199A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)