| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 40422 | chenyanda | 陶陶摘苹果 | C++ | Accepted | 1 MS | 240 KB | 210 | 2024-02-10 15:15:36 |
#include<iostream> using namespace std; int main() { int a[10],k,cnt=0; for(int i=0;i<10;i++){ cin>>a[i]; } cin>>k; for(int i=0;i<10;i++){ if(a[i]<=k+30){ cnt++; } } cout<<cnt; }