Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
2590 孙浚轩 字符串长度判断 C++ Accepted 0 MS 256 KB 295 2024-01-13 18:26:11

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"; else cout<<"no"; return 0; }