Run ID:132746

提交时间:2025-10-12 11:38:55

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