| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61465 | 游四鑫 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 278 | 2023-12-09 16:19:46 |
#include<iostream> using namespace std; int main(){ char a[151],b[151]; int n,x=0,y=0; cin>>a; cin>>b; int i=0; while(a[i]!='\0'){ x++; i++; } i=0; while(b[i]!='\0'){ y++; i++; } if(x==y)cout<<"yes"; else cout<<"no"; return 0; }