题解 3159: 蓝桥杯2023年第十四届省赛真题-填充 摘要:解题思路:注意事项:参考代码:s = input()n = len(s)r = 0; i = 1while i < n: if s[i] == s[i-1] or ('?' in…… 题解列表 2024年04月11日 0 点赞 0 评论 809 浏览 评分:0.0
题解 3180: 蓝桥杯2023年第十四届省赛真题-棋盘 ####注意:python代码在dotcpp上测试会超时,但在蓝桥杯官网中可以AC#####官方AC:https://www.lanqiao.cn/problems/3533/learning/?subject_code=3&group_code=3&match_num=14&match_flow=1 题解列表 2024年04月11日 1 点赞 0 评论 1086 浏览 评分:9.9
思路简单的方法 摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(2,n): for j in range(2,i): if i%j==0: …… 题解列表 2024年04月11日 0 点赞 0 评论 531 浏览 评分:0.0
编写题解 2600: 蓝桥杯2020年第十一届国赛真题-重复字符串,简单求解 摘要:# 从标准输入读取一个整数n,并存储在变量n中 n = int(input()) # 从标准输入读取一个字符串s,并存储在变量s中 s = input() # …… 题解列表 2024年04月10日 0 点赞 1 评论 786 浏览 评分:6.0
1003: [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:str = input().lower() s = "" for i in str: if i == 'w': s += …… 题解列表 2024年04月10日 2 点赞 0 评论 1240 浏览 评分:0.0
1895: 蓝桥杯算法提高VIP-队列操作 摘要:解题思路:注意事项:参考代码:N = int(input()) queue = [] lenght = len(queue) for i in range(N): x = input(…… 题解列表 2024年04月10日 0 点赞 0 评论 732 浏览 评分:0.0
1474: 蓝桥杯基础练习VIP-阶乘计算 摘要:解题思路:注意事项:参考代码:n = int(input()) s = 1 for i in range(2, n + 1): s *= i print(s)…… 题解列表 2024年04月10日 0 点赞 0 评论 819 浏览 评分:0.0
1475: 蓝桥杯基础练习VIP-高精度加法 解题思路:注意事项:参考代码:a=int(input())b=int(input())print(a+b) 题解列表 2024年04月10日 0 点赞 0 评论 812 浏览 评分:0.0
编写题解 1118: Tom数 摘要:解题思路:注意事项:参考代码:while True: try: print(sum(list(map(int, input())))) except: …… 题解列表 2024年04月10日 1 点赞 0 评论 779 浏览 评分: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 评论 701 浏览 评分:0.0