| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 163392 | 岑思烁 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 276 | 2026-10-25 11:42:59 |
#include<bits/stdc++.h> using namespace std; int main(){ int cccp=0; string a; string b; cin>>a; cin>>b; int m=0; while(b[m]!='\0'){ m++; } int n; while(a[n]!='\0'){ n++; } if(n==m){ cout<<"yes"; }else{ cout<<"no"; } return 0; }