Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
39779 | 奚晨瑞 | 陶陶摘苹果 | C++ | Accepted | 1 MS | 244 KB | 241 | 2024-02-04 15:31:56 |
#include<iostream> using namespace std; int a[10]; int main() { int heigh; int S=0; for(int i=0;i<10;i++){ cin>>a[i]; } cin>>heigh; for(int i=0;i<10;i++){ if(a[i]<=heigh+30){ S++; } } cout<<S; return 0; }