Run ID:134079

提交时间:2025-10-25 16:23:59

#include<bits/stdc++.h> using namespace std; char str[1000]; char h[1000]; int main() { cin>>str;//字符数组可以以字符串形式读入和输出 cin>>h; int len = strlen(str);//字符数组求长度 int c = strlen(h); if(len==c) cout<<"yes"; else cout<<"no"; return 0; }