| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156833 | 王培臻 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 276 KB | 244 | 2026-07-11 11:55:10 |
#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<<"yes"; }else{ cout<<"no"; } return 0; }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
yes