| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156849 | 王培臻 | 字符串长度判断 | C++ | Accepted | 3 MS | 276 KB | 244 | 2026-07-11 11:56:27 |
#include<iostream> using namespace std; int main() { string a,s; cin>>a>>s; long long d=0,f=0; while(a[d]!='\0'){ d++; } while(s[f]!='\0'){ f++; } if(d==f){ cout<<"yes"; }else{ cout<<"no"; } return 0; }