题解 1098: 陶陶摘苹果

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

模拟->陶陶摘苹果题解

摘要:$$NOIP$$ $$2008$$年第一题的模拟水题!##### 思路遍历数组,当陶陶的身高$$+30$$后大于当前苹果,就将结果$$+1$$,最后输出这个答案即可(为什么$$NOIP$$普及……

编写题解 1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a[10],tg,zd=0; for(int i=0;……

陶陶摘苹果

摘要:解题思路:通过两个for循环来完成注意事项:参考代码:#include <iostream>using namespace std;int main() { int a[10]; for (int i……

1098: 陶陶摘苹果

摘要:```cpp #include using namespace std; int h[10],a; int main(){ for( int i=1;i>h[i]; } cin>>……