cf/mirror

Alyona and a Narrow Fridge

CF
1119B1300· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
5 7
2 3 5 4 1
Output
3
Sample 2of 3
Input
10 10
9 1 1 1 1 1 1 1 1 1
Output
4
Sample 3of 3
Input
5 10
3 1 4 2 4
Output
5
1119B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…