1431: 蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:n=int(input()) l=list(map(int,input().split())) candin=0 while True: t=[i//2 …… 题解列表 2022年02月01日 0 点赞 0 评论 357 浏览 评分:9.9
python-最大最小公倍数 摘要:解题思路:三个数a,b,c依次从大往小找。注意事项:参考代码:from math import gcd n = int(input().strip()) a = n b = …… 题解列表 2022年02月01日 0 点赞 0 评论 257 浏览 评分:9.9
回文数二 简单易懂 摘要:解题思路:先把给出的数字转换为10进制,再相加,然后转回为n进制参考代码:def czy(n,m):#10进制转换为n进制 strs='' while m: …… 题解列表 2022年02月01日 0 点赞 0 评论 325 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:n=int(input()) def get(x): if str(x) == str(x)[::-1]: return 1 def g(…… 题解列表 2022年01月31日 0 点赞 0 评论 112 浏览 评分:0.0
优质题解 dp保姆级题解(python+ c语言+ c++三种语言实现 + 代码图解) 摘要: **题目**: 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 问从上到下走一条路径,路径的数字最大和是多少…… 题解列表 2022年01月31日 2 点赞 4 评论 1403 浏览 评分:9.4
1115: DNA(python代码) 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): a,b=map(int,input().split()) for j in …… 题解列表 2022年01月31日 0 点赞 0 评论 212 浏览 评分:0.0
1094: 字符串的输入输出处理 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n): st=input() print(st) print('…… 题解列表 2022年01月31日 0 点赞 0 评论 247 浏览 评分:0.0
1394: 永远的丰碑 摘要:解题思路:注意事项:参考代码:while True: try: a=list(map(int,input().strip().split())) if a[0] ==0: break …… 题解列表 2022年01月31日 0 点赞 0 评论 173 浏览 评分:0.0
1858: 逆序数 摘要:解题思路:注意事项:参考代码:n = int(input()) l=list(map(int,input().split())) s=0 for i in range(n-1): fo…… 题解列表 2022年01月30日 0 点赞 0 评论 146 浏览 评分:0.0
1931: 蓝桥杯算法提高VIP-逆序排列 摘要:解题思路:注意事项:参考代码:l=list(map(int,input().split())) for i in l[:-1][::-1]: print(i,end=' '…… 题解列表 2022年01月30日 0 点赞 0 评论 266 浏览 评分:0.0