Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118504 | 李昊宇 | 字符串长度判断 | C++ | Accepted | 1 MS | 280 KB | 241 | 2025-05-04 13:22:44 |
#include<bits/stdc++.h> using namespace std; int main(){ char a[200],b[200]; cin>>a>>b; int alen = strlen(a); int blen = strlen(b); if(alen==blen){ cout<<"yes"<<endl; } else{ cout<<"no"<<endl; } return 0; }