16 条题解
-
0
#include<bits/stdc++.h> #include #include const int N=1e5+10; const int INF=0x3f3f3f3f; using namespace std;
string m; bool a=false;
int main(){ cin>>m; int len=m.size(); for(int i=0;i<len-1;i++) { for(int j=0;j<len;j++) { if(i!=j&&m[i]m[j]) { a=true; break; } } if(afalse) { cout<<m[i]; return 0; } a=false; } cout<<"no"; return 0; }
信息
- ID
- 1153
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 6
- 标签
- 递交数
- 842
- 已通过
- 279
- 上传者