Into Blocks (easy version)
1209G12000· candidate master5s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
5 03 7 3 7 3
Output
2
Sample 2of 4
Input
10 01 2 1 2 3 1 1 1 50 1
Output
4
Sample 3of 4
Input
6 06 6 3 3 4 4
Output
0
Sample 4of 4
Input
7 03 3 1 3 2 1 2
Output
4
58%
1209G1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…