Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100589 王珠潏 字符串长度判断 C++ Accepted 1 MS 280 KB 251 2024-12-08 14:51:24

Tests(10/10):


Code:

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