Run ID:2681

提交时间:2024-01-20 17:15:34

# 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; }