Make sure files end in a newline
This commit is contained in:
parent
8d4606ab95
commit
51274d17c2
@ -4,4 +4,4 @@ class Solution:
|
|||||||
operations = 0
|
operations = 0
|
||||||
while heappop(nums) < k:
|
while heappop(nums) < k:
|
||||||
operations += 1
|
operations += 1
|
||||||
return operations
|
return operations
|
||||||
|
@ -6,4 +6,4 @@ class Solution:
|
|||||||
y = heappop(nums)
|
y = heappop(nums)
|
||||||
heappush(nums, min(x,y)*2 + max(x,y))
|
heappush(nums, min(x,y)*2 + max(x,y))
|
||||||
operations += 1
|
operations += 1
|
||||||
return operations
|
return operations
|
||||||
|
Loading…
Reference in New Issue
Block a user