delete pics to save space
This commit is contained in:
14
history_source/信息学奥赛一本通/1.5.1.2.cpp
Normal file
14
history_source/信息学奥赛一本通/1.5.1.2.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int h[10];
|
||||
for(int i=0;i<10;i++) scanf("%d",h+i);
|
||||
int n;
|
||||
scanf("%d",&n);
|
||||
int ans=0;
|
||||
for(int i=0;i<10;i++) if(h[i]<=n+30) ans++;
|
||||
printf("%d\n",ans);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user