| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 151012 | Kevin | 字符串长度判断 | C++ | Accepted | 0 MS | 276 KB | 253 | 2026-04-03 16:17:45 |
#include<bits/stdc++.h> using namespace std; int main() { char a[200]={},b[200]={}; int a1=0,b1=0; cin>>a>>b; while(a[a1]!='\0') { a1++; } while(b[b1]!='\0'){ b1++; } if(a1==b1) cout<<"yes"; else cout<<"no"; return 0; }