Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102646 | 付博苏逸 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 214 | 2024-12-22 13:32:20 |
#include<iostream> #include<cstring> using namespace std; int main(){ char str1[151],str2[151]; cin>>str1>>str2; if(strlen(str1)==strlen(str2)){ cout<<"yes"; }else{ cout<<"no"; } return 0; }