Beautiful Decomposition
279E1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
10
Output
1
Sample 2of 3
Input
111
Output
2
Sample 3of 3
Input
1101101
Output
4
58%
279E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
10
1
111
2
1101101
4