companions @ 2024-01-21 14:48:09
#include<bits/stdc++.h>
using namespace std;
int a[11];
int main()
{
int n,i,j;
for(n=1;n<11;n++)
{
cin>>a[n];
}
cin>>i;
i=i+30;
for(n=1;n<11;n++)
{
if(i>=a[n])
{
j++;
}
}
cout<<j;
return 0;
}
by pangpanghu @ 2024-04-06 20:39:04
www