| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156867 | 王顺煜 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 276 KB | 308 | 2026-07-11 12:12:29 |
#include<bits/stdc++.h> using namespace std; int main(){ string s1,s2; int num1=0,num2=0; cin>>s1>>s2; while(s1[num1]!='\0'){ num1++; } while(s2[num2]!='\0'){ num2++; } if(num1=num2){ cout<<"yes"; }else{ cout<<"no"; } }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
yes