Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
116806 | 蔡胤泽 | 字符串长度判断 | C++ | Accepted | 1 MS | 280 KB | 271 | 2025-04-12 15:27:22 |
#include <bits/stdc++.h> using namespace std; char s [100000]; char m [10000]; int main() { cin >> s; cin >> m; int a = strlen(s); int b = strlen(m); if(a == b) { cout << "yes" << endl; } else { cout << "no" << endl; } return 0; }