Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146193 王培臻 字符串长度判断 C++ Wrong Answer 0 MS 272 KB 256 2026-01-27 14:04:44

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { char a[152],s[152]; int d=0,f=0; cin>>a>>s; while(a[d]!='\0'){ d++; } while(a[f]!='\0'){ f++; } if(d==f){ cout<<"yes"; }else{ cout<<"no"; } return 0; }


Run Info:

------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
yes