Files
python/TangDou/XiTi/1066.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

18 lines
318 B
C++

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