题解(不是肝帝题解)
2025-04-29 12:18:41
发布于:浙江
20阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
char a[100];
scanf("%s",a);
int la=strlen(a);
for(int i=0;i<la;i++){
for(int o=i+1;o<la;o++){
if(a[i]==a[o]){
cout<<"no";
return 0;
}
}
}
cout<<"yes";
return 0;
}
这里空空如也
有帮助,赞一个