Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98312 郝王骏程 字符串长度判断 C++ Accepted 0 MS 276 KB 318 2024-11-18 20:13:43

Tests(10/10):


Code:

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