acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(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; }

    userId_undefined

    亓.哈?😭

    倔强青铜
    10阅读
    0回复
    2点赞
首页