Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
51479 | littletwleve | 陶陶摘苹果 | C++ | Accepted | 0 MS | 240 KB | 210 | 2024-09-21 23:18:07 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[10],h,c=0; for(int i=0;i<10;i++){ cin>>a[i]; } cin>>h; for(int i=0;i<10;i++){ if(h>=a[i]-30) c++; } cout<<c; return 0; }