提交时间:2024-11-09 22:49:21
运行 ID: 56275
#include<bits/stdc++.h> using namespace std; int main(){ int a[10] ,m , num = 0; for(int i = 0;i < 10;i ++){ cin >> a[i]; } cin >> m; m += 30; for(int i = 0 ; i < 10 ; i ++){ if(a[i] < m ||a [i] == m){ num += 1; } } cout << num; return 0; }