You are given a binary string $$$S$$$. You can perform the following operation any number of times:
A binary string $$$S$$$ ($$$1\leq |S| \leq 5\times 10^6$$$).
One integer — the answer.
10100010011001011111
5
0000010101100110101101010110000110100\ 1110000100101111111001011011101010001\ 11101111010101010010101010 (There won’t be extra line breakers \ in the actual test cases.)
58
| Название |
|---|


