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——————陶陶摘苹果
摘要: n = list(map(int,input().split()))
m = int(input())+30
s = 0
for i in n:
……
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……
编写题解 1098: 陶陶摘苹果(c语言 看题解都比较麻烦,写一个基础简单的)
摘要:解题思路:正常的数组的输入与输出注意事项:不要被题目中的30厘米迷惑了,直接加上去就行参考代码:#include<stdio.h>
int main(){
int a[10],i,n,c……
1098陶陶摘苹果应该有很多种解法
摘要:解题思路:注意事项:也可以试试看用多分支语句参考代码:s=0app=list(map(int,input().split()))hi=int(input())for i in app: if i……
1098: 陶陶摘苹果
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int apple = 10; // 苹果数量int main() {……