2
def sumOfFlooredPairs(self, nums: List[int]) -> int:4
incs, counter = [0] * (max(nums) + 1), Counter(6
) # To store all the quotients increases; counter7
for num in counter: # Loop over all the divisors10
): # Loop over all the possible dividends where the quotient increases11
incs[j] += counter[num] # Increment the increases in quotients14
) # Accumulate the increases to get the sum of quotients16
sum([quots[num] for num in nums]) % 1_000_000_00717
) # Sum up all the quotients for all the numbers in the list.