| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 136899 | 王丞杰 | 只出现一次的字符 | C++ | Time Limit Exceeded | 1000 MS | 488 KB | 314 | 2025-11-15 16:13:57 |
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; int a=s.size(); for(int i=0;i<=a;i++){ int n=0; for(int f=0;f<a;f++){ if(s[i]==s[f]){ n++; } if(n>1) continue; } if(n==1){ cout<<s[i]; return 0; } } cout<<"no"; return 0; }