Segments Removal
899E2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
42 5 5 2
Output
2
Sample 2of 4
Input
56 3 4 1 5
Output
5
Sample 3of 4
Input
84 4 4 2 2 100 100 100
Output
3
Sample 4of 4
Input
610 10 50 10 50 50
Output
4
58%
899E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…