Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
99403 | 范宇童 | 陶陶摘苹果 | C++ | Accepted | 1 MS | 264 KB | 209 | 2024-11-27 20:22:11 |
#include <bits/stdc++.h> int h,a[11],ans; int main(){ for(int i=1;i<=10;i++) scanf("%d",&a[i]); scanf("%d",&h); for(int i=1;i<=10;i++) if(h+30>=a[i]) ans++; printf("%d",ans); return 0; }