Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88292 | 王馨桐 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 208 | 2024-08-19 10:35:44 |
#include<bits/stdc++.h> using namespace std; int main(){ char s[151],a[151]; cin >>s >>a; int e=strlen(s); int x=strlen(a); if(e!=x){ cout <<"no"; }else{ cout <<"yes"; } return 0; }