| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2943 | 高张蕾 | 陶陶摘苹果 | C++ | Accepted | 100 | 0 MS | 252 KB | 310 | 2019-12-08 17:48:21 |
#include <iostream> using namespace std; int main() { int a[10]; for(int j=0;j<10;j++) { cin >> a[j]; } int g; cin >> g; int n = 0; for (int i=0;i<=9;i++) { if (a[i]<=(g+30)) n++; } cout << n << endl; return 0; }