| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 56714 | 张思存 | 陶陶摘苹果 | C++ | Accepted | 0 MS | 244 KB | 274 | 2024-11-15 15:29:00 |
#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; }