题解列表
python 编写题解 1458: 蓝桥杯2013年第四届真题-错误票据 easy
摘要:解题思路:注意事项:参考代码:n=int(input());li=[]for i in range(n): s=list(map(int,(input().strip()).split())) ……
python 编写题解 核桃的数量 超简单!!!
摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())max=max(a,b,c)while True: if max%a==0 and max%b==0 a……
python 编写题解 1431: 蓝桥杯2014年第五届真题-分糖果 超简单!!
摘要:解题思路:注意事项:参考代码:n=int(input())li=list(map(int,input().split()))t=0while li.count(li[0])!=n: l=[x/2……
python 编写题解 1115: DNA
摘要:解题思路:注意事项:参考代码:n=int(input())for i in range(n): a,b=map(int,input().split()) list = [[" " for ……
python 编写题解 1097: 蛇行矩阵
摘要:解题思路:用一个函数控制,避免索引越界参考代码:def f(a,n): li=[a] for i in range(num[-1],n+1): li.append(li[-1……
不用分奇偶也可以做,超简单
摘要:解题思路:注意事项:参考代码:a,b=input().split()
a=int(a)
b=list(b)
for i in range(a//2):
if i!=(a-i-1):
……
2263: 蓝桥杯2015年第六届真题-饮料换购
摘要:解题思路:注意事项:参考代码:n=int(input())
m=n
s=0
while True:
if n<3:
break
s+=n//3
n……