Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
110543 | 王煜鑫 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 254 | 2025-02-22 11:46:54 |
#include<bits/stdc++.h> using namespace std; int main(){ char a[150],b[150]; int lenl=0,lenl2=0; cin>>a>>b; lenl=strlen(a); lenl2=strlen(b); if(lenl==lenl2){ cout<<"yes"; } else{ cout<<"no"; } return 0; }