简单题。
附ac代码:
#include <stdio.h>
int main(){
int t, a[10], i, height, count;
scanf("%d", &t);
while(t--){
for(i = count = 0; i != 10; ++i)
scanf("%d", &a[i]);
scanf("%d", &height);
height += 30;
for(i = 0; i != 10; ++i)
if(height >= a[i]) ++count;
printf("%d\n", count);
}
return 0;
}