题解列表

筛选

编写题解 2072: [STL训练]寻梦

摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n):     strg_1=input()     strg_2=input().strip()  ……

阶乘求和初学

摘要:解题思路:注意事项:参考代码:n=int(input())list1=[]b=1for i in range(1,n+1):    b=b*i    list1.append(b)print(sum(……

2267: 蓝桥杯2016年第七届真题-取球博弈(3.15)

摘要:解题思路:方法:记忆化递归注意事项:这居然是简单题,我真是无语了,被摁在地上摩擦,刚开始想了半天怎么转尼姆博弈,最后还是放弃了,参考了网上的其它语言代码写了python版和详细注释参考代码:def p……

编写题解 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 ……