| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146210 | 李折曦 | 字符串长度判断 | C++ | Accepted | 1 MS | 276 KB | 273 | 2026-01-27 14:05:14 |
#include <bits/stdc++.h> using namespace std; int main (){ char a[152],b[152]; int num1=0,num2=0; cin>>a>>b; while(a[num1]!='\0'){ num1++; } while(b[num2]!='\0'){ num2++; } if(num1==num2){ cout<<"yes"; }else{ cout<<"no"; } return 0; }