Run ID:134075
提交时间:2025-10-25 16:19:49
#include<bits/stdc++.h> using namespace std; char str[1000]; char str2[1000]; int main() { cin>>str;//字符数组可以以字符串形式读入和输出 cin>>str2; int len1 = strlen1(str);//字符数组求长度 int len2 = str2len2(str2); if(len1==len2) cout<<"yes"; else cout<<"no"; return 0; }