cf/mirror

Segments Removal

CF
899E2000· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
4
2 5 5 2
Output
2
Sample 2of 4
Input
5
6 3 4 1 5
Output
5
Sample 3of 4
Input
8
4 4 4 2 2 100 100 100
Output
3
Sample 4of 4
Input
6
10 10 50 10 50 50
Output
4
899E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…