Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 9, 2024
1 parent 2495a82 commit f4fc7e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/src/p0004.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ return {
solution = function()
local answer = 0

for v = 101,1001,1
for v = 101,999,1
do
for u = 100,(v-1),1
do
Expand Down
2 changes: 1 addition & 1 deletion lua/src/p0034.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ return {
do
local xs = tostring(x)
local sum = 0
for i = 1,len(xs),1
for i = 1,string.len(xs),1
do
sum = sum + factorial(tonumber(xs[i]))
end
Expand Down

0 comments on commit f4fc7e8

Please sign in to comment.