intmain(int argc, charconst *argv[]) { cin >> a >> b; // a = "*o**o***o***"; // b = "*o***o**o***"; // a = "**********"; // b = "o****o****"; int cnt = 0; bool flag = 0; for (unsignedint i = 0; i < a.size(); i++) { if (a[i] == b[i] && flag == 1) { cnt++; } if (a[i] != b[i]) { if (flag == 0) { cnt++; } flag = !flag; } } cout << cnt;