| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 56275 | zhangweiran | 陶陶摘苹果 | C++ | Accepted | 0 MS | 248 KB | 274 | 2024-11-09 22:49:21 |
#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; }