| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 54326 | 张思存 | 陶陶摘苹果 | C++ | Accepted | 1 MS | 252 KB | 274 | 2024-10-27 10:26:20 |
#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; }