Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102644 | 付博苏逸 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 276 KB | 264 | 2024-12-22 13:30:40 |
#include<iostream> #include<cstring> using namespace std; int main(){ char str1[101],str2[101]; cin.getline(str1,101); cin.getline(str2,101); cin>>str1>>str2; if(strlen(str1)==strlen(str2)){ cout<<"Yes"; }else{ cout<<"No"; } return 0; }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
No