Skip to content

Commit

Permalink
Add whitespace for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 9, 2024
1 parent 624194f commit 5eb8f04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/src/p0028.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ return {
solution = function()
local answer = 1
local range_entry = loadfile("src/lib/range.lua")().range_entry3

for i = 1,(1000 / 2),1
do
local start = (2 * i - 1)^2 + 1
Expand All @@ -57,6 +58,7 @@ return {
answer = answer + range_entry(start, 1, (3 * 2 * i - 1))
answer = answer + range_entry(start, 1, (4 * 2 * i - 1))
end

return answer
end
}

0 comments on commit 5eb8f04

Please sign in to comment.