1098: 陶陶摘苹果题解 摘要:解题思路:这题很简单,我们需要一个数组a[10]来统计每个苹果距离地面的高度,然后判断陶陶把手伸直的时候能够达到的最大高度加上板凳的高度30是否大于每个苹果距离地面的高度,如果大于,计数器就自加,输出…… 题解列表 2022年03月27日 0 点赞 0 评论 271 浏览 评分:0.0
陶陶摘苹果之遍历数组 摘要:解题思路: 用最大高度加上30cm之后 遍历数组中的十个数字 能满足就计数加一 注意事项:参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2022年03月27日 0 点赞 0 评论 338 浏览 评分:0.0
陶陶摘苹果 题解 摘要:解题思路:就是判断有几个苹果的高度是小于或等于陶陶伸手的高度加上椅子的高度。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a[1…… 题解列表 2022年05月07日 0 点赞 0 评论 182 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int apple = 10; // 苹果数量int main() {…… 题解列表 2022年05月08日 0 点赞 0 评论 152 浏览 评分:0.0
1098陶陶摘苹果应该有很多种解法 摘要:解题思路:注意事项:也可以试试看用多分支语句参考代码:s=0app=list(map(int,input().split()))hi=int(input())for i in app: if i…… 题解列表 2022年06月28日 1 点赞 0 评论 278 浏览 评分:0.0
1098——————陶陶摘苹果 摘要: n = list(map(int,input().split())) m = int(input())+30 s = 0 for i in n: …… 题解列表 2022年09月24日 1 点赞 0 评论 267 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n = 0, a[10] = {0}, ans = 0; for (int i = 0; …… 题解列表 2022年11月06日 0 点赞 0 评论 128 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:##1098: 陶陶摘苹果 ```c #include int main() { int a[10],n,j=0; for(int i=0;i…… 题解列表 2023年01月03日 0 点赞 0 评论 163 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))b=int(input())+30c=0for i in a: if i<=b: c+…… 题解列表 2023年01月04日 0 点赞 0 评论 124 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[10],i; int num=0; int n=10; int max; for…… 题解列表 2023年02月17日 0 点赞 0 评论 119 浏览 评分:0.0