题解 1098: 陶陶摘苹果

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

筛选

遍历__C语言

摘要:##### 解题: 1. 一次只有 10 个苹果; 2. 30 的凳子高度 3. 手的长度 100-120; ```c #include int main() { in……

1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int n = 0, a[10] = {0}, ans = 0;    for (int i = 0; ……

编写题解 1098: 陶陶摘苹果

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

1098: 陶陶摘苹果

摘要:```cpp #include using namespace std; int main() { int a[10],n,sum=0; for(int i=0;i>a[i……

1098: 陶陶摘苹果

摘要:解题思路:... ... ... ... ... ... ... ... ... ...注意事项:无参考代码:#include<iostream>using namespace std;int mai……

淘淘吃苹果问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){   int a[10];   int n,sum=0;   for(int i=0;i<10;i++){    ……

1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int apple = 10; // 苹果数量int main() {……