Run ID:106357

提交时间:2025-01-16 10:23:05

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