char sr[];
for(int i=0;i<10;i++){
scanf("%c",&sr[i]);
getchar(); //用于清除缓存
/**
scanf("%c%*c",&sr[i]); //%*c用于吸收'\n' 作用同getchar();
*/
}