Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150687 郑雨心 字符串长度判断 C++ Accepted 1 MS 272 KB 239 2026-03-29 20:37:50

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main() { char a[170],b[170]; cin>>a>>b; int len1=strlen(a); int len2=strlen(b); if(len1==len2) { cout<<"yes"; } else { cout<<"no"; } return 0; }