为什么会re错误,我在编译器是可以运行的
查看原帖
为什么会re错误,我在编译器是可以运行的
1289975
shuiyuans楼主2024/2/27 11:15
#include <stdio.h>
void main()
{
    int a[10],b;
    for(int i=0;i<10;i++)
    {
        scanf("%d",&a[i]);
    }
    scanf("%d",&b);
    int count=0;
    for(int i=0;i<10;i++)
    {
        if(b+30>=a[i])
            count++;
    }
    printf("%d",count);
}
2024/2/27 11:15
加载中...