蓝桥杯基础练习VIP-Huffuman树 摘要:解题思路:注意事项:参考代码:n = int(input())L = list(map(int,input().split()))L2 = []while len(L)>1: L1 = sort…… 题解列表 2023年04月03日 0 点赞 0 评论 192 浏览 评分:0.0
给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2023年04月03日 0 点赞 0 评论 312 浏览 评分:0.0
一元二次方程 摘要:解题思路:还是定义函数好用,这不用管负值,用if分类传-b*b+4ac即可解决gen小于0注意事项:参考代码:#include<iostream> #include<cmath>//用sqrt开方…… 题解列表 2023年04月03日 0 点赞 0 评论 119 浏览 评分:0.0
python,简单明了,清晰易懂。 摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(1, n + 1): if i < (n + 1) // 2 + 1 : print( …… 题解列表 2023年04月03日 0 点赞 0 评论 320 浏览 评分:6.0
2591: 蓝桥杯2020年第十一届省赛真题-成绩统计 摘要:n=int(input())lst=[]yx,jg=0,0def sishewuru(renshu,n): origal=renshu*100/n quzheng=int(origal) …… 题解列表 2023年04月03日 0 点赞 0 评论 247 浏览 评分:9.0
蓝桥杯算法提高VIP-邮票面值设计 摘要: # 蓝桥杯算法提高VIP-邮票面值设计 ```cpp #include #include #include using namespace std; int ans[15]={0}…… 题解列表 2023年04月03日 0 点赞 0 评论 268 浏览 评分:0.0
###[编程入门]结构体之时间设计-超easy版!! 摘要:###[编程入门]结构体之时间设计-超easy版!! 主要分四步: 1. 创建结构体 2. 判断年份是否为闰年 3. 记录各月份的总天数 4. 对天数累加 先看代码 #i…… 题解列表 2023年04月03日 0 点赞 0 评论 258 浏览 评分:9.9
蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:def hs(L): for i in L: if i%2: return 1 else: …… 题解列表 2023年04月03日 0 点赞 0 评论 152 浏览 评分:0.0
2680: 蓝桥杯2022年第十三届省赛真题-纸张尺寸 摘要:解题思路:只用考虑输入的0~9这几个数,做循环就行注意事项:参考代码:name = input() num = int(name[1]) #只看A后面的数 l=1189 #长 w=8…… 题解列表 2023年04月03日 0 点赞 4 评论 809 浏览 评分:9.9
sort大法////// 摘要:解题思路:会sort排序就行通过定义cmp函数注意事项:数据长度可以用strlen()读取替换10,这里图方便参考代码:#include<iostream> #include<algorithm>…… 题解列表 2023年04月03日 0 点赞 0 评论 144 浏览 评分:0.0