Lemon_C @ 2019-10-22 17:45:38
int main()
{
int a[9],height=0,get=0;
for(int i=0;i<=9;i++)
{
scanf("%d",&a[i]);
}
scanf("%d",&height);
for(int j=0;j<=9;j++)
{
if(height+30>=a[j]) get++;
}
printf("%d",get);
return 0;
}
by Leaved_ @ 2019-10-22 17:46:40
希望更丰富的展现?使用Markdown
by Lemon_C @ 2019-10-22 17:52:27
AC了,数组开小了