Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
38672 | chenyifei | 陶陶摘苹果 | C++ | Accepted | 0 MS | 248 KB | 235 | 2024-01-27 21:12:16 |
#include <iostream> using namespace std; int height[20],H,s; int main() { for(int i=0;i<10;i++)cin >> height[i]; cin >> H; H += 30; for(int i=0;i<10;i++)s+=!(H<height[i]); cout << s; return 0; }