| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153220 | 杨金卓 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 268 KB | 297 | 2026-05-10 14:13:46 |
#include<bits/stdc++.h> using namespace std; char a[178]; char b[178]; int main(){ int c=0,d=0; cin>>a; cin>>b; for(int i=0;a[i]!=0;i++){ c++; } for(int i=0;a[i]!=0;i++){ d++; } if(c==d){ cout<<"yes"; }else{ cout<<"no"; } return 0; }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
yes