| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155787 | 李昱龙 | 只出现一次的字符 | C++ | Time Limit Exceeded | 1000 MS | 492 KB | 324 | 2026-06-13 15:12:40 |
#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++; } } if(cnt==0){ cout<<s1[i]; break; } } return 0; }