第一题二分答案,即二分所需要的天数 def solve(): n, a, b = map(int, input().split()) c = list(map(int, input().split())) l, r = -1, 1 << 64 def check(c, mid): temp = c.copy() res = 0 for i in range(n): temp[i] *= mid res += temp[i] // b return res < a while l < r - 1: mid = (l + r) &g...