Make sure files end in a newline

This commit is contained in:
Kiril Kovachev 2024-03-08 16:52:26 +00:00
parent 8d4606ab95
commit 51274d17c2
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ class Solution:
operations = 0
while heappop(nums) < k:
operations += 1
return operations
return operations

View File

@ -6,4 +6,4 @@ class Solution:
y = heappop(nums)
heappush(nums, min(x,y)*2 + max(x,y))
operations += 1
return operations
return operations