Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
34434 | 奚晨瑞 | 陶陶摘苹果 | C++ | Accepted | 0 MS | 248 KB | 241 | 2023-12-22 15:42:27 |
#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; }