Run ID:61939

提交时间:2023-12-16 14:35:14

#include<bits/stdc++.h> using namespace std; int main() { int t[127]= {0}; string s; cin>>s; for(int i=0; i<s.size(); i++) { t[(int)s[i]]++; } for(int i=0; i<s.size(); i++) { if(t[s[i]]==1) { cout<<s[i]; return 0; } } cout<<"no"; return 0; }