Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148437 张晓冉 18陶陶摘苹果 C++ Wrong Answer 0 MS 272 KB 521 2026-02-15 11:17:52

Tests(1/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int z; cin>>z; int a[11] = {0}; for(int i = 0;i < 10;i++){ cin>>a[i]; } int shu = 0; int h = 30 + z; for(int i = 0;i < 10;i++){ if(a[i] <= h){ shu++; } } cout<<shu; return 0; }


Run Info:

------Input------
118 198 158 197 193 143 165 156 139 106 111
------Answer-----
3
------Your output-----
4