| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156832 | 王培臻 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 272 KB | 244 | 2026-07-11 11:54:42 |
#include<iostream> using namespace std; int main() { string a,s; cin>>a>>s; long long d=0,f=0; while(a[d]!='\0'){ d++; } while(a[f]!='\0'){ f++; } if(d!=f){ cout<<"no"; }else{ cout<<"yes"; } return 0; }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
yes