不写标题了,生气!!!
2024-12-23 22:36:53
发布于:浙江
1阅读
0回复
0点赞
为什么窝提交三四次没记录
#include<bits/stdc++.h>
using namespace std;
int main() {
double a,cnt=0;
string s1,s2;
cin>>a>>点赞s1>>s2;
int l=s1.size();
for(int i=0;i<l;i++){
if(s1[i]==s2[i])cnt++;
}
cnt=cnt/l;
if(cnt>=a)cout<<"yes";
else cout<<"no";
return 0;
}
这里空空如也
有帮助,赞一个