蓝桥杯算法提高VIP-前10名-题解(Python代码) 摘要:```python n = int(input()) l = list(map(int,input().split())) l.sort(reverse=True) for u in ran…… 题解列表 2020年03月14日 0 点赞 0 评论 433 浏览 评分:9.9
蓝桥杯算法提高VIP-前10名 摘要:解题思路:注意事项:参考代码:n=int(input())if(10<=n<=200): l=list(map(int,input().split())) s=sorted(l,rever…… 题解列表 2022年03月20日 0 点赞 0 评论 245 浏览 评分:9.9
1503: 蓝桥杯算法提高VIP-前10名 摘要:解题思路:注意事项:参考代码:n=int(input())lst=list(map(int,input().split()))lst2=sorted(lst,reverse=True)for i in…… 题解列表 2023年01月21日 0 点赞 0 评论 103 浏览 评分:9.9
sor[1503]:前10名排序(Python) 2行代码,不能再少了,因为要处理第1行的数字 摘要:解题思路:接收输入,接收第2行输入,处理输入数据,map一下,list一下,排个序,再逆转,再列个表,切片一下,for循环打印输出。OK了注意事项:参考代码:别废话了,上代码吧n=int(input(…… 题解列表 2021年10月11日 0 点赞 1 评论 316 浏览 评分:9.3
蓝桥杯算法提高VIP-前10名-题解(Python代码) 摘要:```python n = int(input()) numList = [int(i) for i in input().split()] if n == len(numList): …… 题解列表 2020年02月09日 0 点赞 0 评论 609 浏览 评分:9.0
蓝桥杯算法提高VIP-前10名-题解(Python代码) python 摘要:```python n = input()#输入 arr = input().split()#输入 arr = [int(x) for x in arr]#字符转整型 arr.sort…… 题解列表 2019年11月24日 0 点赞 0 评论 781 浏览 评分:8.0
蓝桥杯算法提高VIP-前10名-题解(Python代码) 摘要: ```python n=input() L=[int(i) for i in input().split()] L.sort() L=L[::-1] for i in range(len…… 题解列表 2020年01月11日 0 点赞 2 评论 491 浏览 评分:6.0
蓝桥杯算法提高VIP-前10名-题解(Python代码) 摘要:注意事项:注释的那一行用了map函数好像就不能对列表用len和sorted函数了,map函数是返回一个新的列表参考代码:n = int(input())# num_list = map(int, in…… 题解列表 2021年02月19日 0 点赞 0 评论 205 浏览 评分:0.0
1503——————前10名 摘要: n = int(input()) m = sorted(list(map(int,input().split())))[::-1] for i in range(10):p…… 题解列表 2022年07月09日 0 点赞 0 评论 205 浏览 评分:0.0
小南解题--前10名--67ms 摘要:n = int(input())zz=list(map(int,input().split()))zz.sort(reverse=True)for i in zz[:10]: print(i,e…… 题解列表 2022年08月27日 0 点赞 0 评论 78 浏览 评分:0.0