| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 152550 | 冯诚阳 | 只出现一次的字符 | C++ | Time Limit Exceeded | 1000 MS | 492 KB | 559 | 2026-04-26 15:24:48 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ string a; getline(cin,a); for(int i=0;i<a.size();i++){ int f=0; for(int j=0;j<a.size();j++){ if(a[i]==a[j]){ f++; } } if(f==1){ cout<<a[i];return 0; } } cout<<"no"; return 0; }