| 记录编号 | 363999 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 972.[NOIP 2005]陶陶摘苹果 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.003 s | ||
| 提交时间 | 2017-01-14 21:08:15 | 内存使用 | 0.31 MiB | ||
#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
freopen("apple.in","r",stdin);
freopen("apple.out","w",stdout);
int a[10],h,t=0;
for(int i=0;i<10;i++)
{
cin>>a[i];
}
cin>>h;
for(int i=0;i<10;i++)
{
if(a[i]<=(h+30))
t++;
}
cout<<t;
return 0;
}