| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 163397 | 王安安 | 字符串长度判断 | C++ | Accepted | 1 MS | 272 KB | 251 | 2026-10-25 11:44:28 |
#include<bits/stdc++.h> using namespace std; int main(){ string s1,s2; cin>>s1>>s2; int n1=0; while(s1[n1]){ n1++; } int n2=0; while(s2[n2]!='\0'){ n2++; } if(n1==n2){ cout<<"yes"; }else{ cout<<"no"; } return 0; }