Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6245 黄言岐 字符串长度判断 C++ Accepted 0 MS 264 KB 391 2025-01-14 15:48:25

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char s[151],a[151]; cin>>a>>s; if(strlen(s)==strlen(a)){ cout<<"yes"; } else cout<<"no"; return 0; }