| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 160920 | 王艺博 | 18陶陶摘苹果 | C++ | Wrong Answer | 1 MS | 268 KB | 314 | 2026-09-26 16:46:43 |
#include<bits/stdc++.h> using namespace std; int main(){ //break结束循环,continue退出本次循环 int n,k; cin>>n; int a[11]; for(int i=0;i<n;i++){ cin>>a[i]; } cin>>k; int v=30; int b=0; for(int i=0;i<n;i++){ if(v+k>a[i]){ b++; } } cout<<b; return 0; }
------Input------
130 175 173 113 125 101 186 130 143 184 136
------Answer-----
6
------Your output-----
63