Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82615 陈俊洁 如何得到"hello" C++ Output Limit Exceeded 1 MS 280 KB 286 2024-07-13 14:21:25

Tests(0/20):


Code:

#include<bits/stdc++.h> using namespace std; char s[1000000]; int sn[150]; int main() { char a[1500]; cin >> a; for (int i=0; i<1500; i++) { if(a[i]=='h'&&a[i]=='e'&&a[i]=='l'&&a[i]=='l'&&a[i]=='o') { cout << "YES"; } else { cout << "NO"; } } return 0; }