用C语言简单的思路来解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,h,count=0;//i为数组下标,h为陶陶高度,count为摘下来的果子个…… 题解列表 2023年12月15日 0 点赞 0 评论 95 浏览 评分:0.0
面向过程编程 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[10] = {0};//初始化Apples的高度…… 题解列表 2023年12月19日 0 点赞 0 评论 105 浏览 评分:0.0
1098: 陶陶摘苹果 C语言 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include int main() { int apple_hight[10] = {0};//…… 题解列表 2024年01月11日 0 点赞 0 评论 90 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路: 注意事项:判断能否摘到苹果一定是大于等于哦参考代码:#include<stdio.h>#define APPLENUMBER 10int main(){ int bench_heig…… 题解列表 2024年01月14日 0 点赞 0 评论 147 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner (System.in); int []arr=ne…… 题解列表 2024年01月30日 0 点赞 0 评论 116 浏览 评分:0.0
最Easy的一集 摘要:这怎么好意思放在中等题???? ``` import java.util.Scanner; public class Main { public static void mai…… 题解列表 2024年03月04日 1 点赞 0 评论 234 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:参考代码:arr = list(map(int, input().split())) h = int(input()) count = 0 for i in range(len(arr)): …… 题解列表 2024年03月20日 0 点赞 0 评论 329 浏览 评分:0.0
1098陶陶摘苹果(for循环遍历解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[15];//存苹果高度 int b;//存陶陶的高度 in…… 题解列表 2024年05月31日 0 点赞 0 评论 297 浏览 评分: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 评论 198 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 10int main(){ int a[N]; int point,sum=0; for(int …… 题解列表 2024年07月16日 0 点赞 0 评论 189 浏览 评分:0.0