陶陶摘苹果-题解(C++代码) by Zfans. 摘要:```cpp #include using namespace std; int main() { int apple[10]; for (int i = 0; i…… 题解列表 2019年10月15日 0 点赞 0 评论 423 浏览 评分:9.0
陶陶摘苹果 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main(){ int x,a[10],i,j,k=0; for(i=0;i<=10;) { scanf("%d",&x);…… 题解列表 2017年08月13日 2 点赞 2 评论 1693 浏览 评分:9.0
1098: 陶陶摘苹果 摘要:解题思路:估计原题是中等题,这个是阉割版,完全没有算法可言。注意事项:找找原题吧。参考代码:#include <iostream> using namespace std; const i…… 题解列表 2022年03月11日 0 点赞 0 评论 247 浏览 评分:9.0
陶陶摘苹果 (C++代码) 用数组轻松解决,小白包你看懂。 摘要:#include using namespace std; int main() {int a[10];//定义十个数 int high,i,count=0; for(i=0;i>a[i]…… 题解列表 2020年02月05日 0 点赞 0 评论 387 浏览 评分:9.3
优质题解 Manchester- 陶陶摘苹果 摘要:解题思路:定义一个长度为11的数组;用while(scanf("%d",&a[i])!=EOF)语句存入数;当存了11个数时,求前十个数中,小于等于最后一个数+30的数的个数;输出所求的的个数;注意事…… 题解列表 2017年11月29日 16 点赞 2 评论 5157 浏览 评分:9.4
编写题解 1098: 陶陶摘苹果 摘要:解题思路:定义count指针计数注意事项:参考代码:h1=list(map(int,input().split())) #苹果到地面高度,打包为整型数组 h2=int(input()) #陶陶把手伸…… 题解列表 2022年10月23日 0 点赞 0 评论 494 浏览 评分:9.6
1098: 陶陶摘苹果 摘要:解题思路:加起来对比。注意事项:无参考代码:#include<bits/stdc++.h> using namespace std; int main() { long long a,…… 题解列表 2022年11月12日 0 点赞 0 评论 152 浏览 评分:9.9
淘淘吃苹果问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; int n,sum=0; for(int i=0;i<10;i++){ …… 题解列表 2022年06月20日 0 点赞 0 评论 519 浏览 评分:9.9
旧物有情 # 陶陶摘苹果 阅读理解,读懂了就很简单! 摘要:``` #include using namespace std; const int N =15; int a[N]; int main(){ //读取10个苹果到达地面的…… 题解列表 2024年10月17日 2 点赞 0 评论 100 浏览 评分:9.9
C++ 编写题解 1098: 陶陶摘苹果 摘要:解题思路: 注意事项: 参考代码: #include<iostream>using namespace std;int main(){ int a[11],high,count=0; for (int…… 题解列表 2024年02月05日 0 点赞 0 评论 285 浏览 评分:9.9