Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155531 肖之睿 字符串长度判断 C++ Accepted 1 MS 272 KB 294 2026-06-07 15:02:39

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; char a[1000]; char b[1000]; //sizeof(变量);计算某个变量的大小; int main(){ int c,d; cin>>a; cin>>b; c=strlen(a); d=strlen(b); if(c==d){ cout<<"yes"; }else{ cout<<"no"; } return 0; }