Loading... ## 题目 ## 思路 时间短的人优先即可。。 ## 题解 ```python n = int(input()) list = list(map(int,input().split())) new = sorted(list) for i in range(n): index = list.index(new[i]) print(index + 1,end=" "if i != n-1 else "\n") list[index] = -1 time = 0 for i in range(1,n): time += sum(new[0:i]) time /= n print("%.2f"%time) ``` Last modification:March 10, 2022 © Allow specification reprint Support Appreciate the author WeChat Like 0 如果觉得我的文章对你有用,请随意赞赏