1474: 蓝桥杯基础练习VIP-阶乘计算 摘要:解题思路:注意事项:参考代码:n = int(input()) s = 1 for i in range(2, n + 1): s *= i print(s)…… 题解列表 2024年04月10日 0 点赞 0 评论 565 浏览 评分:0.0
1475: 蓝桥杯基础练习VIP-高精度加法 摘要:解题思路:注意事项:参考代码:a = int(input()) b = int(input()) print(a + b)…… 题解列表 2024年04月10日 0 点赞 0 评论 518 浏览 评分:0.0
编写题解 1118: Tom数 摘要:解题思路:注意事项:参考代码:while True: try: print(sum(list(map(int, input())))) except: …… 题解列表 2024年04月10日 1 点赞 0 评论 521 浏览 评分:0.0
纪念品分组 摘要:解题思路:w=int(input())n=int(input())a=[]for i in range(n): x=int(input()) a.append(x)a=sorted(a,r…… 题解列表 2024年04月09日 0 点赞 0 评论 475 浏览 评分:0.0
图像模糊处理 摘要:解题思路:注意事项:参考代码:n, m = map(int, input().split()) num = [list(map(int, input().split())) for _ in ran…… 题解列表 2024年04月09日 0 点赞 0 评论 417 浏览 评分:0.0
变幻的矩阵 摘要:解题思路:注意事项:参考代码:n = int(input()) num_start = [list(map(str, input().split())) for _ in range(n)] nu…… 题解列表 2024年04月09日 0 点赞 0 评论 346 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:n = int(input()) flag = 0 for i in range(10000, 1000000): if str(i) == str(i)[…… 题解列表 2024年04月09日 2 点赞 1 评论 501 浏览 评分:10.0
1462: 蓝桥杯基础练习VIP-Huffuman树 摘要:解题思路:注意事项:参考代码:n = int(input()) arr = list(map(int, input().split())) anwser = 0 while len(arr) >…… 题解列表 2024年04月09日 0 点赞 0 评论 357 浏览 评分:0.0
1197: 发工资咯 摘要:解题思路:注意事项:参考代码:def coin_change(n): coins = [100, 50, 10, 5, 2, 1] num = [] for coin i…… 题解列表 2024年04月09日 0 点赞 0 评论 477 浏览 评分:0.0
小白随便写的,记录一下,python开荒 摘要:```python """ 树形dp吧这题,这题很经典,但大多写法都是c/c++ 写了一下python 然后大部分思路都是dfs深搜 这里写了一下层次遍历的思路 其实和dfs的差不多 但还是提…… 题解列表 2024年04月09日 0 点赞 0 评论 609 浏览 评分:0.0