| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61452 | 冯纪尧 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 280 | 2023-12-09 16:10:06 |
#include<iostream> using namespace std; int main(){ char a[151],b[151]; cin>>a>>b; int ai=0,bi=0; ai=0; int i=0; int o=0; while(a[i]!='\0'){ ai++; i++; } while(b[o]!='\0'){ bi++; o++; } if(ai==bi){ cout<<"yes"; }else{ cout<<"no"; } }