题目
#include <bits/stdc++.h>
using namespace std;
typedef char cc;
typedef int ii;
typedef double dd;
typedef long long ll;
typedef bool bb;
typedef float ff;
typedef string ss;
dd fazhi,xiangsidu;
cc a[10000],b[10000];
ll changdu;
int main(){
cin>>fazhi>>a>>b;
changdu=strlen(a);
for(int i=0;i<changdu;i++){
if(a[i]==b[i]){
xiangsidu++;
}
}
xiangsidu/=changdu;
if(xiangsidu>=fazhi){
cout<<"yes";
}
else{
cout<<"no";
}
return 0;
}
测试点详细
求求了!!
此外
有人玩第五吗???