Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88032 王馨桐 18陶陶摘苹果 C++ Accepted 1 MS 268 KB 242 2024-08-16 21:55:15

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int p[11]; int sum=0,g; for(int i=1; i<=10; i++){ cin >>p[i]; } cin >>g; for(int i=1; i<=10; i++){ if(g+30>=p[i]){ sum+=1; } } cout <<sum; return 0; }