| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69117 | 夏梓瑞 | 18陶陶摘苹果 | C++ | Wrong Answer | 1 MS | 272 KB | 322 | 2024-03-30 15:29:48 |
# include<iostream> using namespace std; int main(){ int n=10,max=0,k; int z[n+1]; for(int i=1;i<=n;i++){ cin>>z[i]; } cin>>k; for(int i=1;i<=n;i++){ if((k+30)<=z[i]){ max+=1; }} cout<<max-1; return 0; }
------Input------
130 175 173 113 125 101 186 130 143 184 136
------Answer-----
6
------Your output-----
3