#46228: too ez


1121226@stu.wghs.tp.edu.tw (Arthur✨EC)

學校 : 臺北市私立薇閣高級中學
編號 : 252772
來源 : [60.248.154.139]
最後登入時間 :
2025-08-21 12:59:45

#include <bits/stdc++.h>
using namespace std;
int main(){
    int a[10];
    for(int i=0;i<10;i++){
        cin>>a[i];
    }
    int n,total=0;
    cin>>n;
    for(int i=0;i<10;i++){
        if(a[i]<=n+30){
            total++;
        }
    }
    cout<<total;
    return 0;
}