蓝桥杯算法提高VIP-班级排名-题解(Python代码) 摘要:解题思路:注意事项:参考代码:score={} n=int(input()) for i in range(n): name=input() score[nam…… 题解列表 2020年07月25日 0 点赞 0 评论 363 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量-题解(Python代码) 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split()) for i in range(1,500): if i%a==0 and i%…… 题解列表 2020年07月25日 0 点赞 0 评论 560 浏览 评分:0.0
蓝桥杯算法提高VIP-格式化数据输出-题解(Python代码) 摘要:解题思路:注意事项:参考代码:print("---------------------------------------------------") print("COUNTRY AREA…… 题解列表 2020年07月24日 0 点赞 0 评论 463 浏览 评分:5.0
蓝桥杯算法提高VIP-格子位置-题解(Python代码) 摘要:解题思路:第一二行不用说。左上到右下,从他给的那个点开始,向左上走,把点的坐标用元组存储,再把元组存储到列表中,向右下走,列表先逆序,在append右下的坐标。详细看代码。注意事项:参考代码:n=in…… 题解列表 2020年07月24日 0 点赞 0 评论 454 浏览 评分:0.0
[编程入门]二进制移位练习-题解(Python代码) 摘要:解题思路:注意事项:参考代码:def binary(d): s = "" while d > 0: s = str(d % 2) + s d //= 2 …… 题解列表 2020年07月23日 0 点赞 0 评论 449 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出-题解(Python代码)超详细,超简单 摘要:解题思路:这里用到了calendar库,在设置第一周第一天为星期日时,用到了setfirstweekday()注意事项:参考代码:import calendaryear,month=map(int,i…… 题解列表 2020年07月23日 0 点赞 0 评论 416 浏览 评分:0.0
回文数(二)-题解(Python代码) 摘要:解题思路:注意事项:参考代码:n=int(input())m=int(input())step=0while True: a=m b=int(str(m)[::-1]) suma=0…… 题解列表 2020年07月23日 0 点赞 0 评论 367 浏览 评分:0.0
蓝桥杯算法提高VIP-数字黑洞-题解(Python代码) 摘要:解题思路:注意事项:参考代码:n=input() count=0 s_max='' s_min='' c=0 while c!=6174: …… 题解列表 2020年07月23日 0 点赞 0 评论 668 浏览 评分:0.0
Tom数-题解(Python代码)拆分成字符串 摘要:解题思路:注意事项:参考代码:while(1): str=input() s=0 for i in str: …… 题解列表 2020年07月22日 0 点赞 0 评论 553 浏览 评分:0.0
IP判断-题解(Python代码) 摘要:解题思路:用到isalpha()来判断是不是字母注意事项:参考代码:while(1): na,nb,nc,nd=input().split('.') …… 题解列表 2020年07月22日 0 点赞 0 评论 493 浏览 评分:0.0