Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
84679 sh25_chenyj 陶陶摘苹果 C++ 通过 0 MS 252 KB 333 2026-02-18 18:09:09

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int cnt = 0; int ls[10]; // cout << fixed << setprecision(10) << ce(a); for(int i = 0; i < 10; i++){ int a; cin>>a; ls[i] = a; } int m; cin>>m; for(int i = 0; i<10; i++){ if(ls[i] <= m + 30){ cnt ++; } } cout<<cnt; return 0; }


测评信息: