Alyona and a Narrow Fridge
1119B1300· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
5 72 3 5 4 1
Output
3
Sample 2of 3
Input
10 109 1 1 1 1 1 1 1 1 1
Output
4
Sample 3of 3
Input
5 103 1 4 2 4
Output
5
58%
1119B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…