# 第一道题感觉没错,但就过了10%,不知道哪里错了,求大佬帮我看看 def func(): N = int(input()) records = list(map(int, input().split(' '))) total = int(input()) records.sort() idx = -1 remainder = total for i in range(N): if (N-i)*records[i] <= remainder: remainder -= records[i] ...