Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100588 李禹宸 字符串长度判断 C++ Accepted 1 MS 280 KB 240 2024-12-08 14:48:06

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char s1[150],s2[150]; int a=0,b=0; cin>>s1>>s2; while(s1[a]!='\0'){ a++; } while(s2[b]!='\0'){ b++; } if(a == b) cout<<"yes"; else cout<<"no"; return 0; }