| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 121988 | 韩潞琪 | 18陶陶摘苹果 | C++ | Wrong Answer | 1 MS | 268 KB | 267 | 2025-06-14 09:02:34 |
#include<bits/stdc++.h> using namespace std; int main() { int a[200],n,m,s=0; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; } cin>>m; m=m+30; for(int i=1;i<=n;i++){ if(m>=a[i]){ s+=1; } } cout<<s; return 0; }
------Input------
130 175 173 113 125 101 186 130 143 184 136
------Answer-----
6
------Your output-----
88