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