1098:陶陶摘苹果(C++代码) 摘要:解题思路:简单题,算法难度较低注意事项:参考代码:#include <iostream>using namespace std;int main(){ int arr[10] = {0}; …… 题解列表 2023年03月04日 0 点赞 0 评论 142 浏览 评分:0.0
陶陶摘苹果C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[10],sum=0; for…… 题解列表 2023年03月16日 0 点赞 0 评论 213 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:只要苹果距离地面小于或等于陶陶能达到的高度即表示能摘到注意事项:参考代码:L = list(map(int,input().split()))a = int(input())s = 0for…… 题解列表 2023年03月18日 0 点赞 0 评论 167 浏览 评分:0.0
一维数组--2.陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a[10],n,count=0; for(int i=0;i<10;i++){ …… 题解列表 2023年03月24日 0 点赞 0 评论 163 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using names…… 题解列表 2023年04月28日 0 点赞 0 评论 137 浏览 评分: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 评论 151 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10]; for(i=0;i<10;i++) { scanf("…… 题解列表 2023年06月10日 0 点赞 0 评论 140 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:注意事项:一定要记得数组下标从0开始!!!参考代码:#include<stdio.h>int main(){ int a[10],n,count=0; for(int i=0;i…… 题解列表 2023年08月02日 0 点赞 0 评论 178 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:注意事项:参考代码:ls = list(map(int,input().split()))h = int(input())c = 0for i in range(0,len(ls)): …… 题解列表 2023年11月26日 0 点赞 0 评论 271 浏览 评分: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 评论 162 浏览 评分:0.0