Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151896 何兴驰 18陶陶摘苹果 C++ Accepted 1 MS 272 KB 225 2026-04-19 11:58:00

Tests(10/10):


Code:

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