GitHub
Problem
ABC341 E - Alternating String
Problem input
S
S
i
∈ {0, 1}, S.length ≦ 15
flip 0/1
L, R
S
0
1
0
1
1
S
i
xor S
i+1
1
1
1
0