Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
127863 | 袁梓豪 | 18陶陶摘苹果 | C++ | Accepted | 1 MS | 272 KB | 259 | 2025-07-29 16:51:39 |
#include <bits/stdc++.h> using namespace std; int main() { int c = 0; int j; int a[10]; for (int i = 0; i < 10; i++) { cin >> a[i]; } cin>>j; for (int i = 0; i < 10; i++) { if (30+j>=a[i]) { c++; } } cout<<c; return 0; }