Balanced Removals (Easier)
1237C11700· expert1s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
63 1 00 3 02 2 01 0 01 3 00 1 0
Output
3 65 12 4
Sample 2of 2
Input
80 1 11 0 11 1 01 1 12 2 23 2 22 3 22 2 3
Output
4 51 62 73 8
58%
1237C1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)