AC其实很简单的啊~~秋!

P1046 [NOIP2005 普及组] 陶陶摘苹果

升阳 @ 2017-08-26 15:54:00

AC其实很简单的,呼噜,当然,放代码

#include<iostream>
//#include<bits\stdc++.h>
using namespace std;
int a[11],h,num;
int main(){
int i;
for(i=1;i<=10;i++)
cin>>a[i];
cin>>h;
for(i=1;i<=10;i++)
if(h>=a[i]||h+30>=a[i])
num++;
cout<<num;
}

by _Ayanami_ @ 2017-08-26 15:58:12

_ 这个是入门难度好不好_


by _Ayanami_ @ 2017-08-26 15:58:52

_ 这个是入门难度好不好 _


by 芜湖起飞 @ 2017-08-26 16:16:56

emmm...


by Kirisame_Marisa_ @ 2017-08-26 17:18:41

tag:stupid_question


by Michaelwu @ 2017-09-03 11:05:02

这个是入门难度好不好


|