Files
python/TangDou/CSP-J/AcWingTraining/T1/421.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

17 lines
304 B
C++

#include <bits/stdc++.h>
using namespace std;
const int N = 15;
int a[N], height;
int cnt;
int main() {
for (int i = 1; i <= 10; i++) cin >> a[i];
cin >> height;
for (int i = 1; i <= 10; i++)
if (a[i] <= height + 30) cnt++;
cout << cnt << endl;
return 0;
}