2609: 蓝桥杯2021年第十二届省赛真题-时间显示 摘要:解题思路:注意事项:参考代码:num=int(input()) t=num//1000 ss=t%60 mm=t%(60*60)//60 hh=t%(60*60*24)//(60*60) i…… 题解列表 2022年04月06日 0 点赞 0 评论 439 浏览 评分:0.0
利用列表求得最大值 摘要:解题思路:注意事项:参考代码:while True: a=list(map(int,input().split())) if a==[0]: break a=a[1:]…… 题解列表 2022年04月06日 0 点赞 0 评论 333 浏览 评分:0.0
题解 1563: 蓝桥杯算法提高VIP-质因数 摘要:````python n = int(input()) x = n s = '' while x > 1: for i in range(2,x+1): if x%…… 题解列表 2022年04月06日 0 点赞 0 评论 382 浏览 评分:0.0
超简短代码 摘要:解题思路:注意事项:参考代码:while True: a,b=map(int,input().split()) print(a+b) print()…… 题解列表 2022年04月06日 0 点赞 0 评论 450 浏览 评分:0.0
while循环的持续输入 摘要:解题思路:注意事项:参考代码:while True: a,b=map(int,input().split()) print(a+b)…… 题解列表 2022年04月06日 0 点赞 0 评论 427 浏览 评分:9.9
注意换行和列表清空 摘要:解题思路:注意事项:参考代码:while True: a=list(map(int,input().split())) a=a[1:] b=sorted(a,reverse=True…… 题解列表 2022年04月06日 0 点赞 0 评论 472 浏览 评分:0.0
列表的循环输入,利用列表切片和求和 摘要:解题思路:注意事项:参考代码:while True: a=list(map(int,input().split())) a=a[1:] for i in a: xx=a…… 题解列表 2022年04月06日 0 点赞 0 评论 572 浏览 评分:0.0
分类讨论以及循环输入 摘要:解题思路:注意事项:参考代码:while True: a=int(input()) if a<=100 and a>=90: print('A') el…… 题解列表 2022年04月06日 0 点赞 0 评论 468 浏览 评分:2.0
列表注意还原为空列表 摘要:解题思路:注意事项:参考代码:while True: a,b,c=map(int,input().split()) d=[a,b,c] xx=sorted(d) if xx[0…… 题解列表 2022年04月06日 0 点赞 0 评论 407 浏览 评分:0.0
a,b=0时跳出循环 摘要:解题思路:注意事项:参考代码:while True: a,b=map(int,input().split()) if a==0 and b==0: break prin…… 题解列表 2022年04月06日 0 点赞 0 评论 662 浏览 评分:0.0