Breaking the Wall
1674E2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 6
Input
520 10 30 10 20
Output
10
Sample 2of 6
Input
31 8 1
Output
1
Sample 3of 6
Input
67 6 6 8 5 8
Output
4
Sample 4of 6
Input
614 3 8 10 15 4
Output
4
Sample 5of 6
Input
41 100 100 1
Output
2
Sample 6of 6
Input
340 10 10
Output
7
58%
1674E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)