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