模拟
#include<iostream>
using namespace std;
int main() {
string start, end;
cin >> start >> end;
int res = 0;
for(int i = 0; i < start.size() - 1; ++i) {
if(start[i] != end[i]) {
res++;
start[i] = start[i] == '*' ? 'o' : '*';
start[i + 1] = start[i + 1] == '*' ? 'o' : '*';
}
}
cout << res;
return 0;
}