Fruit Sequences
1428F2400· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
40110
Output
12
Sample 2of 3
Input
71101001
Output
30
Sample 3of 3
Input
12011100011100
Output
156
58%
1428F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
40110
12
71101001
30
12011100011100
156