Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98309 黄枳润 字符串长度判断 C++ Wrong Answer 1 MS 276 KB 319 2024-11-18 19:59:30

Tests(1/10):


Code:

#include<iostream> using namespace std; int main(){ int s=1,c=1; char a[151],b[151]; cin>>a>>b; for(int i=0;i<151;i++){ if(a[i]!='\0') s++; if(b[i]!='\0') c++; } if(s==c){ cout<<"yes"; }else{ cout<<"no"; } return 0; }


Run Info:

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