Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
106977 | 刘子锐 | 18陶陶摘苹果 | C++ | Wrong Answer | 0 MS | 272 KB | 298 | 2025-01-17 10:27:38 |
#include<bits/stdc++.h> using namespace std; int main() { int n = 10; int a[n]; for (int i = 0; i <= n - 1; i++) { cin >> a[i]; } int s; cin >> s; int count = 0; for (int i = 0; i <= n - 1; i++) { if (a[i]<=s+30) { count++; } } cout<<s; return 0; }
------Input------
130 175 173 113 125 101 186 130 143 184 136
------Answer-----
6
------Your output-----
136