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