| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155792 | 刘轻松 | 只出现一次的字符 | C++ | Accepted | 11 MS | 492 KB | 330 | 2026-06-13 15:20:38 |
#include<bits/stdc++.h> using namespace std; string s; int main(){ getline(cin,s); int len = s.size(); for(int i=0;i<len;i++){ int cnt=0; for(int j=0;j<len;j++){ if(i != j && s[i]==s[j]){ cnt++; break; } } if(cnt==0){ cout<<s[i]; return 0; } } cout<<"no"; return 0; }