题解列表
以b数组当中间值,二分解决
摘要:解题思路:注意事项:参考代码:n=int(input())a=[0]+list(map(int,input().split()))b=[0]+list(map(int,input().split())……
2684: 蓝桥杯2022年第十三届省赛真题-数位排序
摘要:解题思路:会用sorted函数+匿名函数注意事项:参考了别人的题解,我自己再写一遍参考代码:n = int(input())
m = int(input())
s = [i for i in ra……
蓝桥杯基础练习VIP-Huffuman树
摘要:解题思路:注意事项:参考代码:n = int(input())L = list(map(int,input().split()))L2 = []while len(L)>1: L1 = sort……
给用Java的开一下荒土
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;
public class Main {
public static void main(String[] a……
python,简单明了,清晰易懂。
摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(1, n + 1): if i < (n + 1) // 2 + 1 : print( ……
2591: 蓝桥杯2020年第十一届省赛真题-成绩统计
摘要:n=int(input())lst=[]yx,jg=0,0def sishewuru(renshu,n): origal=renshu*100/n quzheng=int(origal) ……
蓝桥杯算法提高VIP-邮票面值设计
摘要:
# 蓝桥杯算法提高VIP-邮票面值设计
```cpp
#include
#include
#include
using namespace std;
int ans[15]={0}……