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