1. 내 정답 import time times = time.time() n, m ,k = list(map(int, input().split())) data = list(map(int, input().split())) data.sort() print(data) first = data[n-1] print(first) second = data[n-2] print(second) count = 0 while True: for i in range(k): if m != 0: count += first m -= 1 if m != 0: count += second m-= 1 if m == 0: break timese = time.time() print('시간 :', timese - times) print(count) 2..