提交时间:2026-02-18 18:09:09

运行 ID: 84679

#include<bits/stdc++.h> using namespace std; int main() { int cnt = 0; int ls[10]; // cout << fixed << setprecision(10) << ce(a); for(int i = 0; i < 10; i++){ int a; cin>>a; ls[i] = a; } int m; cin>>m; for(int i = 0; i<10; i++){ if(ls[i] <= m + 30){ cnt ++; } } cout<<cnt; return 0; }