mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
17 lines
217 B
C
17 lines
217 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;
|
|
}
|