| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 134076 | 刘益梵 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 268 KB | 311 | 2025-10-25 16:20:48 |
#include<bits/stdc++.h> using namespace std; char str[1000]; char str2[1000]; int main() { cin>>str;//字符数组可以以字符串形式读入和输出 cin>>str2; int len = strlen(str);//字符数组求长度 int len2 = strlen(str); if(len==len2) cout<<"yes"; else cout<<"no"; return 0; }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
yes