OJ-Problems-Source/OpenJudge/ch0106_冰封/02.c
2016-07-06 14:15:22 +08:00

16 lines
261 B
C

#include<stdio.h>
int a[10];
int main(void){
int b,j = 0, i;
for(i = 0; i < 10; i++)
scanf("%d",&a[i]);
scanf("%d",&b);
b += 30;
for(i = 0; i < 10; i++){
if(a[i]<=b)
j++;
}
printf("%d",j);
return 0;
}