题解列表

筛选

编写题解 2065: [STL训练]{A} + {B}

摘要:解题思路:注意事项:参考代码:while True:     try:         n,m=map(int,input().split())         r=list(map(int,i……

编写题解 2052: 整除问题

摘要:解题思路:注意事项:参考代码:n=int(input()) s = 0 for i in range(2,n//2+1):     if n%i==0:         s += 1  pr……

编写题解 2042: 杨辉三角

摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split()) if m<=0:     pass else:          ls=[[1]]     for ……

编写题解 2036: 散列存储

摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split()) ls=[] for i in range(m):     ls.append(list(map(int,i……

1885: 蓝桥杯2017年第八届真题-分巧克力(3.15)

摘要:解题思路:在这个网站无法ac,在官网ac了,思路有两个1.暴力枚举每一个输入的巧克力的可能分割方案的数目,直接统计总和,找到总和小于k的那一个前面的一个即为最大边长.官网得分75,两个测试点超时2.基……

1121题解python for循环

摘要:解题思路:不停地嵌套就行了注意事项:参考代码:for i in range(10000):    if i%8==1:        if (i//8)%8==1:            if ((i……

[STL训练]A+B Python------十二

摘要:解题思路:用while循环,可不受组数限制。注意事项:引用try......except......进行取数,不受组数限制(防止测试时组数与题干数不同)参考代码:while True:     tr……