题解列表

筛选

编写题解 1614: 蓝桥杯算法训练VIP-单词接龙

摘要:解题思路 n较小,可以使用dfs注意事项: 由于第一个测试用例有问题,所有的输入数据末尾都加上了一个空格,可以把第五行的input()改为''.join(input().split()……

蓝桥杯算法训练VIP-s01串

摘要:解题思路:注意事项:不能只用s一个字符串,会混淆参考代码:n = int(input())a = '0's = '0'for i in range(n):    a =……

python format格式化输出

摘要:n=int(input())a=[]sum=0for i in range(n):    a.append(int(input()))    sum+=a[i]print(max(a))print(m……

数列排序python

摘要:解题思路:注意事项:比第一个数字小的在左边,大的在右边,但并没有排序参考代码:n = int(input())for i in range(n):    L = list(map(int,input(……

FJ的字符串python

摘要:解题思路:找规律注意事项:参考代码:n = int(input())c = 'A'for i in range(1,n):    b = ord('A')+i    c……

绝对值排序

摘要:解题思路:分别用列表来存放数据的原值和绝对值注意事项:参考代码:while True:    try:        L = list(map(int,input().split()))       ……