| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61085 | 余慕涵 | 18陶陶摘苹果 | C++ | Accepted | 1 MS | 276 KB | 338 | 2023-12-01 19:43:02 |
#include <iostream> #include <cstdio> #include <cmath> using namespace std; int main(){ int r,l=0,o,m=0,n,f; o=10; int a[o]; for(r=0;r<o;r++) cin>>a[r]; cin>>n; n=n+30; for(r=0;r<o;r++){ if(a[r]<=n){ l++;}} cout<<l; return 0; }