| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81542 | 刘宇轩 | 字符串长度判断 | C++ | Accepted | 0 MS | 272 KB | 313 | 2024-07-12 14:39:27 |
#include<bits/stdc++.h> using namespace std; char a[151],b[151]; int main(){ int n=0,m=0,x=0; cin>>a>>b; while(a[n]!='\0'){ n++; x++; } x=0; while(b[m]!='\0'){ m++; x++; } if(n!=m){ cout<<"no"; return 0; } cout<<"yes"; return 0; }