//一起翻两个币,没个空隙都由前一个硬币决定翻不翻 所以没个间隙都是确定的
···
include[HTML_REMOVED]
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
const int N=110;
int n;
char start[N],amd[N];
void turn(int i)
{
if(start[i]==’’) start[i]=’o’;
else start[i]=’’;
}
int main()
{
cin>>start>>amd;
n = strlen(start);
int res=0;
for(int i=0;i<n-1;i++)
{
if(start[i]!=amd[i])
{
turn(i),turn(i+1);
res++;
}
}
cout<<res<<endl;
return 0 ;
}
```