Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2685 | 邓小龙 | 字符串长度判断 | C++ | Wrong Answer | 0 MS | 272 KB | 260 | 2024-01-20 17:21:29 |
# include<iostream> using namespace std; int main(){ int l1=0, l2=0; char s1[151], s2[151]; cin>>s1>>s2; while(s1[l1]!='\0')l1++; if(s2[l1]=='\0'){ cout<<"yes"; } else{ cout<<"no"; } return 0; }
------Input------
yczvvivroompbrviikwdaertjevqxsestwsogmnnfzki ilmtqbjhmjugsmregbqewyuesqrxgllfkmabdmzocwo
------Answer-----
no
------Your output-----
yes