Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101248 罗迎甲 18陶陶摘苹果 C++ Accepted 1 MS 280 KB 472 2024-12-14 17:06:59

Tests(10/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 m,q=0; int a[10]; for(int z=0;z<10;z++){ cin>>a[z]; } cin>>m; for(int z=0;z<10;z++){ if(a[z]<=m+30) q+=1; } cout<<q; return 0; }