Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2680 | 莫业祁 | 字符串长度判断 | C++ | Wrong Answer | 0 MS | 268 KB | 309 | 2024-01-20 17:14:41 |
# include<iostream> using namespace std; int main(){ int len1=0,len2=0; char s1[151],s2[151]; cin>>s1>>s2; while(s1[len1]!='\0') len1++; while(s1[len1]!='\0') len1++; if(len1==len2) cout<<"yes"<<endl; else cout<<"no"<<endl; return 0; }
------Input------
qsoeaidcsj uwbhmfcfjz
------Answer-----
yes
------Your output-----
no