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