Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
121996 | 韩潞琪 | 18陶陶摘苹果 | C++ | Accepted | 1 MS | 276 KB | 249 | 2025-06-14 09:05:40 |
#include<bits/stdc++.h> using namespace std; int main() { int a[200],m,s=0; for(int i=1;i<=10;i++){ cin>>a[i]; } cin>>m; m=m+30; for(int i=1;i<=10;i++){ if(m>=a[i]){ s+=1; } } cout<<s; return 0; }