Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
125051 田子熙 如何得到"hello" C++ Wrong Answer 1 MS 268 KB 273 2025-07-13 10:48:42

Tests(0/20):


Code:

#include<bits/stdc++.h> using namespace std; char a[1500]; char b[10]="hello"; int main(){ int k=0; cin>>a; int l=strlen(a); for(int i=0;i<=l;i++){ if(a[i]==b[k]){ k++; } if(k>4){ cout<<"yes"; }else{ cout<<"no"; } } return 0; }


Run Info:

------Input------
jkwgburltxdezgcdhduwcpqoadrwnqljfn
------Answer-----
NO
------Your output-----
nonononononononononononononononononononononononononononononononononono