Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146240 汪义罗 字符串长度判断 C++ Accepted 1 MS 272 KB 281 2026-01-27 14:14:30

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ string a, b; int noma=0,nomb=0;; cin >> a >> b; while(a[noma]!='\0'){ noma++; } while(b[nomb]!='\0'){ nomb++; } if(noma==nomb){ cout<<"yes"; }else{ cout<<"no"; } return 0; }