Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81531 刘宇轩 字符串长度判断 C++ Wrong Answer 0 MS 264 KB 279 2024-07-12 14:36:48

Tests(1/10):


Code:

#include<bits/stdc++.h> using namespace std; char a[151],b[151]; int main(){ int n=1,m=1; cin>>a>>b; while(a[n]!=' '){ n++; } while(b[m]!='\0'){ m++; } if(n!=m){ cout<<"no"; return 0; } cout<<"yes"; return 0; }


Run Info:

------Input------
qsoeaidcsj uwbhmfcfjz
------Answer-----
yes
------Your output-----
no