Run ID:112174

提交时间:2025-03-08 16:21:07

#include <iostream> #include <string> using namespace std; int main() { string str1, str2; cin >> str1 >> str2; // 输入两个字符串 // 比较两个字符串的长度 if (str1.length() == str2.length()) { cout << "yes" << endl; } else { cout << "no" << endl; } return 0; }