| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155793 | 李昱龙 | 只出现一次的字符 | C++ | Accepted | 7 MS | 492 KB | 352 | 2026-06-13 15:21:14 |
#include<bits/stdc++.h> using namespace std; string s1; int main(){ cin>>s1; int f=s1.size(); for(int i=0;i<f;i++){ int cnt=0; for(int j=0;j<f;j++){ if(s1[i]==s1[j] && i != j){ cnt++; break; } } if(cnt==0){ cout<<s1[i]; return 0; } } cout<<"no"; return 0; }