Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
86858 sh25_ganzy 基因相关性 C++ 编译错误 0 MS 0 KB 339 2026-04-10 14:17:57

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ float t; cin>>t; int cnt=0; char a[502],b[502]; int l=0; cin>>a>>b; while(a[i]!=''){ l++; } for(int i=0;i<l;i++){ if(a[i]==b[i]) cnt++; } if(cnt*1.0/l>=t) cout<<"yes"; else cout<<"no"; return 0; }


测评信息: