// Problem#: 1144
// Submission#: 3810657
// The source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License
// URI: http://creativecommons.org/licenses/by-nc-sa/3.0/
// All Copyright reserved by Informatic Lab of Sun Yat-sen University
#include<iostream>
using namespace std;
int main()
{
int len[10];
int high;
for(int i=0;i<10;i++)
{
int s;
cin >> s;
len[i]=s;
}
cin >> high;
int num=0;
for(int i=0;i<10;i++)
{
if(len[i]<=(high+30))num++;
}
cout << num << endl;
return 0;
}
1144. 陶陶摘苹果
最新推荐文章于 2024-04-07 16:30:40 发布