| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156866 | 刘杨国卿 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 247 | 2026-07-11 11:58:03 |
#include<bits/stdc++.h> using namespace std; int main() { string s1,s2; cin>>s1>>s2; int n=0,s=0; while(s1[n]!='\0'){ n++; } while(s2[s]!='\0'){ s++; } if(n==s){ cout<<"yes"; }else{ cout<<"no"; } return 0; }