Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
124792 | 李昊宇 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 229 | 2025-07-12 15:47:36 |
#include<bits/stdc++.h> using namespace std; int main() { char a[1100],b[1100]; cin>>a>>b; int lena = strlen(a); int lenb = strlen(b); if(lena!= lenb){ cout<<"no"; return 0; } cout<<"yes"; return 0; }