#include <iostream> #includ
#include <iostream>
#include <cstring>
using namespace std;
int main()
{
int t[256];
char s[10];
int i;
scanf("%s", s);
for(i = 0; i < 256; i++) t[i] = 0;
for(i = 0; i < strlen(s); i++) t[s[i]]++;
for(i = 0; i < strlen(s); i++)
if(t[s[i]] == 1) {
cout << s[i] << endl;
return 0;
}
cout << "no" << endl;
return 0;
}输入:
xyzxyw
输出:( )
答案
第1空:z