蓝桥杯2020年第十一届省赛真题-成绩分析 摘要:解题思路:注意事项:参考代码:n = int(input())L = [int(input())for i in range(n)]print(max(L))print(min(L))print("%…… 题解列表 2023年04月05日 0 点赞 0 评论 220 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-旋转 摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split())L = [list(map(int,input().split()))for i in range(m)]L1…… 题解列表 2023年04月05日 0 点赞 0 评论 214 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-等差数列 摘要:解题思路:注意事项:参考代码:n = int(input())L = list(map(int,input().split()))L.sort()L1 = []for i in range(len(L…… 题解列表 2023年04月05日 0 点赞 0 评论 187 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-特别数的和 摘要:解题思路:注意事项:参考代码:n = int(input())s = 0for i in range(1,n+1): for j in str(i): if j in '2…… 题解列表 2023年04月05日 0 点赞 0 评论 220 浏览 评分:0.0
蓝桥杯2018年第九届真题-缩位求和 摘要:解题思路:注意事项:参考代码:n = int(input())while len(str(n))!= 1: n = sum(int(i) for i in str(n))print(n)…… 题解列表 2023年04月05日 0 点赞 0 评论 214 浏览 评分:0.0
蓝桥杯2018年第九届真题-次数差 摘要:解题思路:注意事项:参考代码:L = input()n = L.count(max(L,key=L.count))m = L.count(min(L,key=L.count))print(n-m)…… 题解列表 2023年04月05日 0 点赞 0 评论 169 浏览 评分:0.0
蓝桥杯2015年第六届真题-饮料换购 摘要:解题思路:注意事项:参考代码:n = int(input())s = nwhile n>=3: a = n//3 s+=a n = a+n-3*aprint(s)…… 题解列表 2023年04月05日 0 点赞 0 评论 186 浏览 评分:0.0
程序员爬楼梯——递归 摘要:解题思路:注意事项:参考代码:def pa(n): if n == 1 or n == 2: return 1 elif n == 3: return 2 …… 题解列表 2023年04月05日 0 点赞 0 评论 312 浏览 评分:9.9
区间中最大的数 摘要:解题思路:注意事项:参考代码:n = int(input())L = list(map(int,input().split()))m = int(input())for i in range(m): …… 题解列表 2023年04月05日 0 点赞 0 评论 292 浏览 评分:0.0
与2无关的数——python 摘要:解题思路:注意事项:参考代码:def bxg(n): if '2' in str(n) or n%2 == 0: return 0 else: …… 题解列表 2023年04月05日 0 点赞 0 评论 201 浏览 评分:0.0