| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 3159 | 黄祖耀 | 陶陶摘苹果 | C++ | Wrong Answer | 0 | 0 MS | 244 KB | 267 | 2019-12-14 10:30:24 |
#include<iostream> using namespace std; int main(){ int apple[11]={0}; int max,number; for(int i=1;i<11;i++){ cin>>apple[i]; } cin>>max; max+=30; for(int i=1;i<=10;i++){ if(apple[i]<=max){ number++; } } cout<<number; return 0; }