| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153221 | 卢语宸 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 329 | 2026-05-10 14:13:52 |
#include<bits/stdc++.h> using namespace std; int main() { char a[160],b[160],n=0,m=0; cin>>a>>b; for(int i=0;;i++){ if(a[i]==0){ break; }else{ n++; } } for(int i=0;;i++){ if(b[i]==0){ break; }else{ m++; } } if(n==m){ cout<<"yes"; }else{ cout<<"no"; } return 0; }