#include<iostream>
using namespace std;
int main() {
char str[20] = "cd大家好df";
//std::cin >> str;
char cstr[20];
int n, cn;
n = 0; cn = 0;
while (str[n] != '\0') {
if ((str[n] & 0x80)!=0) {
cstr[cn] = str[n];
cstr[cn + 1] = str[n + 1];
cn += 2; n += 2;
}
else {
n++;
}
}
cstr[cn] = '\0';
cout << cstr << endl;
std::cin.get();
}