| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 160260 | 邓弘锐 | 只出现一次的字符 | C++ | Accepted | 8 MS | 496 KB | 356 | 2026-09-13 15:15:48 |
#include<bits/stdc++.h> using namespace std; string s; int main(){ cin>>s; int len=s.size(); for(int i=0;i<len;i++){ char c=s[i]; int cnt=0; for(int j=0;j<len;j++){ if(c==s[j]){ cnt++; if(cnt>1)break; } } if(cnt==1){ cout<<c<<endl; return 0; } } cout<<"no"; return 0; }