Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
19277 赵泽铭 陶陶摘苹果 C++ Accepted 2 MS 724 KB 244 2021-11-13 11:58:02

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a[15],height,ans=0; for(int i=0;i<10;i++){ cin>>a[i]; } cin>>height; for(int i=0;i<10;i++){ if(height+30>=a[i])++ans; } cout<<ans<<endl; return 0; }