小南解题-最长字符串---72ms 摘要:a,b,c,d,e=map(str,input().split())k=max(len(a),len(b),len(c),len(d),len(e))if k==len(a): print(a…… 题解列表 2022年08月26日 0 点赞 0 评论 250 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量--91ms,49ms 摘要:#写法一a, b, c = map(int, input().split())for i in range(min(a,b,c), (a*b*c)+1): if i % a == 0 and i…… 题解列表 2022年08月26日 0 点赞 0 评论 230 浏览 评分:0.0
1512: 蓝桥杯算法提高VIP-多项式输出-16行代码-简洁 摘要:解题思路:1 lst = [系数列表] 遍历lst通过字符串相加的形式组成目标输出字符串2 只需要特别处理下特俗情况,通过if进行分类 比如 1/-1: 输出中系数1要省略 …… 题解列表 2022年08月25日 0 点赞 1 评论 275 浏览 评分:9.0
字符串逆序 摘要:解题思路:注意事项:参考代码:n=95859 while True: n+=1 a=str(n) b=a[::-1] if a==b: pr…… 题解列表 2022年08月24日 0 点赞 0 评论 492 浏览 评分:9.9
耗的时间有点多 摘要:解题思路:注意事项:参考代码:c=[] for i in range(1000,10000): a=int(i/100) b=int(i%100) if (a+b)**…… 题解列表 2022年08月24日 0 点赞 0 评论 274 浏览 评分:9.9
个人思路,随便看看吧 摘要:解题思路:学会列表的相关操作很重要注意事项:参考代码:def fun(n): l1 = [n] while n != 1: if n % 2 == 0: …… 题解列表 2022年08月22日 0 点赞 0 评论 226 浏览 评分:0.0
1023——————选择排序 摘要: #一行 for i in sorted(list(map(int,input().split()))):print(i) #两行 n=list(map(int,inpu…… 题解列表 2022年08月21日 0 点赞 0 评论 512 浏览 评分:9.9
1517——————蓝桥杯算法提高VIP-实数相加 摘要:**import** 导入模块,每次使用模块中的函数都要是定是哪个模块。 **from…import *** 导入模块,每次使用模块中的函数,直接使用函数就可以 **decimal 模块**:…… 题解列表 2022年08月21日 0 点赞 0 评论 307 浏览 评分:0.0
1092——————A+B for Input-Output Practice 摘要:题目:1092: A+B for Input-Output Practice **题目描述** Your task is to calculate the sum of some integers…… 题解列表 2022年08月20日 0 点赞 0 评论 213 浏览 评分:0.0
1091—————— A+B for Input-Output Practice (VII) 摘要:题目:1091: A+B for Input-Output Practice (VII) **题目描述** Your task is to Calculate a + b. ——翻译(来源百度翻…… 题解列表 2022年08月20日 0 点赞 0 评论 216 浏览 评分:0.0