Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
98337 | Kevin | 字符串长度判断 | C++ | Accepted | 3 MS | 272 KB | 239 | 2024-11-19 15:17:26 |
#include<bits/stdc++.h> using namespace std; const int n=150; char a[n],b[n]; int main(){ cin>>a; cin>>b; int len1=strlen(a); int len2=strlen(b); if(len1==len2){ cout<<"yes"; } else cout<<"no"; return 0; }