题解列表
编写题解 2600: 蓝桥杯2020年第十一届国赛真题-重复字符串,简单求解
摘要:# 从标准输入读取一个整数n,并存储在变量n中
n = int(input())
# 从标准输入读取一个字符串s,并存储在变量s中
s = input()
# ……
1003: [编程入门]密码破译
摘要:解题思路:注意事项:参考代码:str = input().lower()
s = ""
for i in str:
if i == 'w':
s += ……
1895: 蓝桥杯算法提高VIP-队列操作
摘要:解题思路:注意事项:参考代码:N = int(input())
queue = []
lenght = len(queue)
for i in range(N):
x = input(……
1474: 蓝桥杯基础练习VIP-阶乘计算
摘要:解题思路:注意事项:参考代码:n = int(input())
s = 1
for i in range(2, n + 1):
s *= i
print(s)……
1475: 蓝桥杯基础练习VIP-高精度加法
摘要:解题思路:注意事项:参考代码:a = int(input())
b = int(input())
print(a + b)……
编写题解 1118: Tom数
摘要:解题思路:注意事项:参考代码:while True:
try:
print(sum(list(map(int, input()))))
except:
……