题解列表

筛选

数组插入处理 python

摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))b = int(input())a.append(b)a.sort()for i in a:    p……

DNA( Python )哈哈小白只懂这么写

摘要:解题思路:  先生成二维列表,再把二维列表弄成符合题目意思的内容注意事项:  注意格式输出参考代码: n=int(input())while(n>0):    a,b=map(int,input().……

2525: 信息学奥赛一本通T1627-最大公约数

摘要:解题思路:用c就不用想了,需要用到高精度,甚至高精度压位,用欧几里得算法也不行了,需要用二进制算法,比赛的时候要用一两百行。求教大佬后Python两行搞定。参考代码:from math import ……

[编程入门]阶乘求和

摘要:解题思路:注意事项:参考代码:n = int(input())a = 0jiecheng = 1l = 0for i in range(1, n+1):    a += 1    jiecheng *……