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

Tests(1/10):


Code:

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


Run Info:

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