NOIP2005复赛 普及组 第1题 陶陶摘苹果
生活随笔
收集整理的這篇文章主要介紹了
NOIP2005复赛 普及组 第1题 陶陶摘苹果
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
http://ybt.ssoier.cn:8088/problem_show.php?pid=1930
http://noi.openjudge.cn/ch0106/02/
/* NOIP2005復賽 普及組 第一題 陶陶摘蘋果 1930:【05NOIP普及組】陶陶摘蘋果 http://ybt.ssoier.cn:8088/problem_show.php?pid=1930 http://noi.openjudge.cn/ch0106/02/ */ #include<iostream> using namespace std; int main() {int b[10];int n=0,h,i=0;for(i=0;i<=9;i++){cin>>b[i];}cin>>h;h+=30;for(i=0;i<=9;i++){if(h>=b[i])n++;}cout<<n;return 0; }?
?
?
?
?
總結
以上是生活随笔為你收集整理的NOIP2005复赛 普及组 第1题 陶陶摘苹果的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 小程序滑动到底部进行分页的功能实例
- 下一篇: PHPMailer目录和命名空间没有错,