Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
61455 刘宇轩 字符串长度判断 C++ Wrong Answer 1 MS 276 KB 277 2023-12-09 16:14:01

Tests(1/10):


Code:

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


Run Info:

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