题解 1098: 陶陶摘苹果

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

筛选

1098: 陶陶摘苹果

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

1098: 陶陶摘苹果

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

1098: 陶陶摘苹果

摘要:##1098: 陶陶摘苹果 ```c #include int main() { int a[10],n,j=0; for(int i=0;i……

1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))b=int(input())+30c=0for i in a:    if i<=b:        c+……

陶陶摘苹果

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

1098:陶陶摘苹果(C++代码)

摘要:解题思路:简单题,算法难度较低注意事项:参考代码:#include <iostream>using namespace std;int main(){    int arr[10] = {0};   ……

陶陶摘苹果C++

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

陶陶摘苹果

摘要:解题思路:只要苹果距离地面小于或等于陶陶能达到的高度即表示能摘到注意事项:参考代码:L = list(map(int,input().split()))a = int(input())s = 0for……