Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
2586 邓小龙 字符串长度判断 C++ Accepted 0 MS 264 KB 290 2024-01-13 18:23:51

Tests(10/10):


Code:

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