王镜铭 • 1个月前
#include<bits/stdc++.h>
using namespace std;
int main() {
char a[151];
cin >> a;
char b[151];
cin >> b;
int e = 0, f = 0;
while (a[e] != '\0') {
e += 1;
}
while (b[f] != '\0') {
f += 1;
}
if (e == f) {
cout << "yes";
} else {
cout << "no";
}
return 0;
}
评论: