Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2679 | 邓程允 | 字符串长度判断 | C++ | Wrong Answer | 0 MS | 268 KB | 336 | 2024-01-20 17:14:00 |
# include<iostream> using namespace std; int main(){ int len1,len2; char s1[151],s2[151]; cin>>s1>>s2; while(s1[len1]!='\0'){ len1++; } while(s2[len2]!='\0'){ len2++; } if(len1==len2){ cout<<'yes'; } else { cout<<'no'; } return 0; }
------Input------
qsoeaidcsj uwbhmfcfjz
------Answer-----
yes
------Your output-----
7955827