Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
112801 | 小徐老师 | 字符串长度判断 | C++ | Accepted | 1 MS | 272 KB | 264 | 2025-03-12 20:55:33 |
#include <bits/stdc++.h> using namespace std; int main() { char a[155], b[155]; cin >> a >> b; if(strlen(a) == strlen(b)) { cout << "yes" << '\n'; } else { cout << "no" << '\n'; } return 0; }