Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88268 | 田苒彤 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 227 | 2024-08-19 10:30:48 |
#include<bits/stdc++.h> using namespace std; char s[150]; char sc[150]; int main() { cin>>s>>sc; int n=strlen(s); int a=strlen(sc); if(n==a){ cout<<"yes"; }else{ cout<<"no"; } return 0; }