| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 82677 | 张之隽 | 如何得到"hello" | C++ | Wrong Answer | 0 MS | 280 KB | 248 | 2024-07-13 14:36:58 |
#include<bits/stdc++.h> using namespace std; char n [51] ; int main(){ string s,a="hello"; int c=0; int k=0; cin>>s; for(int i=0;i<s.size();i++){ if(s[i]=a[k]){ cout<<"1"; } else{ cout<<"0"; } } return 0; }
------Input------
jkwgburltxdezgcdhduwcpqoadrwnqljfn
------Answer-----
NO
------Your output-----
1111111111111111111111111111111111