题解 1098: 陶陶摘苹果

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

编写题解 1098: 陶陶摘苹果

摘要:解题思路:定义count指针计数注意事项:参考代码:h1=list(map(int,input().split())) #苹果到地面高度,打包为整型数组 h2=int(input()) #陶陶把手伸……
优质题解

Manchester- 陶陶摘苹果

摘要:解题思路:定义一个长度为11的数组;用while(scanf("%d",&a[i])!=EOF)语句存入数;当存了11个数时,求前十个数中,小于等于最后一个数+30的数的个数;输出所求的的个数;注意事……

陶陶摘苹果 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main(){ int x,a[10],i,j,k=0; for(i=0;i<=10;) { scanf("%d",&x);……

1098: 陶陶摘苹果

摘要:解题思路:估计原题是中等题,这个是阉割版,完全没有算法可言。注意事项:找找原题吧。参考代码:#include <iostream> using namespace std; const i……

陶陶摘苹果 (C语言代码)

摘要:解题思路:先循环输入10个数,设置一个计数变量,全局变量用g_count,局部变量用l_count。具体见代码注释注意事项:参考代码:#include <stdio.h> int main() {……

陶陶摘苹果 (Java代码)

摘要:参考代码:import java.util.*;public class Main {        public static  void main(String[] args) {        ……