陶陶摘苹果之遍历数组 摘要:解题思路: 用最大高度加上30cm之后 遍历数组中的十个数字 能满足就计数加一 注意事项:参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2022年03月27日 0 点赞 0 评论 368 浏览 评分:0.0
模拟->陶陶摘苹果题解 摘要:$$NOIP$$ $$2008$$年第一题的模拟水题!##### 思路遍历数组,当陶陶的身高$$+30$$后大于当前苹果,就将结果$$+1$$,最后输出这个答案即可(为什么$$NOIP$$普及…… 题解列表 2025年07月26日 0 点赞 0 评论 87 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a[10],tg,zd=0; for(int i=0;…… 题解列表 2024年06月16日 0 点赞 0 评论 267 浏览 评分:0.0
1098陶陶摘苹果(for循环遍历解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[15];//存苹果高度 int b;//存陶陶的高度 in…… 题解列表 2024年05月31日 0 点赞 0 评论 367 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:通过两个for循环来完成注意事项:参考代码:#include <iostream>using namespace std;int main() { int a[10]; for (int i…… 题解列表 2023年12月08日 0 点赞 0 评论 183 浏览 评分:0.0
题解 1098: 陶陶摘苹果 摘要: #include using namespace std; int a[20000],b,c,sum; int main(){ for(int i=0…… 题解列表 2023年11月28日 0 点赞 0 评论 307 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:```cpp #include using namespace std; int h[10],a; int main(){ for( int i=1;i>h[i]; } cin>>…… 题解列表 2023年11月27日 0 点赞 0 评论 183 浏览 评分:0.0
我是菜狗。。。。。。。。。。。。 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; int b; for(int i=0;i<10;…… 题解列表 2023年05月12日 0 点赞 0 评论 178 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using names…… 题解列表 2023年04月28日 0 点赞 0 评论 160 浏览 评分:0.0
陶陶摘苹果C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[10],sum=0; for…… 题解列表 2023年03月16日 0 点赞 0 评论 238 浏览 评分:0.0