| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2851 | 李思贤 | 陶陶摘苹果 | C++ | Accepted | 100 | 0 MS | 248 KB | 205 | 2019-12-07 14:35:42 |
#include<iostream> using namespace std; int main(){ int a[11],b,j=0; for(int i=1;i<=10;i++){ cin>>a[i]; } cin>>b; for(int i=1;i<=10;i++){ if(b+30>=a[i]) j++; } cout<<j; return 0; }