| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62441 | 游四鑫 | 如何得到"hello" | C++ | Wrong Answer | 1 MS | 276 KB | 331 | 2023-12-23 17:36:04 |
#include<iostream> #include<cstring> using namespace std; int main(){ char a[10000]; cin>>a; for(int i=0;i<strlen(a);i++){ if(a[i]='h'){ if(a[i]='e'){ if(a[i]='l'){ if(a[i]='o'){ cout<<"YES"; } } } } else cout<<"NO"; } return 0; }
------Input------
jkwgburltxdezgcdhduwcpqoadrwnqljfn
------Answer-----
NO
------Your output-----
YESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYES