Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
2681 莫业祁 字符串长度判断 C++ Accepted 0 MS 264 KB 309 2024-01-20 17:15:34

Tests(10/10):


Code:

# 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(s2[len2]!='\0') len2++; if(len1==len2) cout<<"yes"<<endl; else cout<<"no"<<endl; return 0; }