菲暃要加油——陶陶摘苹果(4行解决) 摘要:解题思路:引入python自带的 bisect库,可以很快的解决这个问题注意事项:用的是bisect_right函数参考代码:importbisectl=sorted(list(map…… 题解列表 2025年02月20日 1 点赞 0 评论 87 浏览 评分:10.0
陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10],h,n=0; for(i=1;i<=10;i++) { sc…… 题解列表 2024年12月03日 1 点赞 0 评论 426 浏览 评分:0.0
陶陶摘苹果(新手也能看懂) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int count=0; int arr[10]; for(int i=0;i<10;i++) { scan…… 题解列表 2024年11月28日 1 点赞 0 评论 205 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],b=0,c=10,d=0,i; for( i=0;i<c;i++) { …… 题解列表 2024年10月24日 0 点赞 0 评论 87 浏览 评分:0.0
逆天解法,包得吃的。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[10]={0},a,i,b=0; for(i=0;i<10;i++) { scanf("%d"…… 题解列表 2024年10月23日 0 点赞 0 评论 169 浏览 评分:9.9
python7行解决 摘要:解题思路:注意事项:参考代码:a = [int(i) for i in input().split()]b = int(input())c = 0for i in a: if b + 30 >=…… 题解列表 2024年10月20日 0 点赞 0 评论 209 浏览 评分:9.9
旧物有情 # 陶陶摘苹果 阅读理解,读懂了就很简单! 摘要:``` #include using namespace std; const int N =15; int a[N]; int main(){ //读取10个苹果到达地面的…… 题解列表 2024年10月17日 2 点赞 0 评论 132 浏览 评分:9.9
python 1098: 陶陶摘苹果 摘要:**没什么好注意的,按题目要求来** ```python a = list(map(int,input().strip().split())) b = int(input().strip()…… 题解列表 2024年09月06日 0 点赞 0 评论 134 浏览 评分:0.0
淘淘摘苹果 摘要:解题思路:注意事项:参考代码:apple=list(map(int,input().split()))high=eval(input())high_all=high+30n=0for i in ran…… 题解列表 2024年08月12日 0 点赞 0 评论 68 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i=0; …… 题解列表 2024年08月06日 0 点赞 0 评论 204 浏览 评分:9.9