- 陶陶摘苹果
- 2016-06-22 13:40:22 @
// input code here
2 条评论
-
king0.0 LV 4 @ 2016-12-07 20:20:09
// input code here
-
2016-06-22 13:40:40@
#include<iostream> #include<cstdio> using namespace std; int f,ans,a[11]; int main() { for(int i=1;i<=10;++i) cin>>a[i]; cin>>f; for(int i=1;i<=10;++i) if(f+30>=a[i]) ans++; cout<<ans<<endl; return 0; }
- 1