thank you
The cabbage button only has two states: 1 and 0, and silly, silly ljw wants to turn a bunch of cabbage buttons into the target state. But ljw has a rounded body, and when you push a button, you accidentally touch the next two. We know that if a cabbage button is pressed, it changes its state, and we find the least number of operations ljw.
Input format
two lines, giving two equal length strings of 0 and 1(no longer than 5*10^6), representing the current and target states.
Output format
The minimum number of push-button operations that need to be performed, or output impossible if the transformation cannot be achieved.
0 Answer
thank you
这家伙很懒,什么都没留下...