Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98313 杨登博 字符串长度判断 C++ Accepted 1 MS 276 KB 337 2024-11-18 20:24:04

Tests(10/10):


Code:

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