Skip to content

Commit

Permalink
Disable debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 11, 2024
1 parent dc58cf5 commit b3830bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion lua/src/lib/primes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ local function prime_factors(n)
while p ~= nil and n % p ~= 0
do
p = pgen.next()
print(p)
end

if p == nil
Expand Down
1 change: 0 additions & 1 deletion lua/src/p0007.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ return {
repeat
idx = idx + 1
num = pgen.next()
print(idx .. ", " .. num)
until idx > 10000

return num
Expand Down
4 changes: 2 additions & 2 deletions lua/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ local problems = {
["p0028.lua"] = {669171001, false},
["p0034.lua"] = {40730, false},
["p0836.lua"] = {"aprilfoolsjoke", false},
-- ["p0003.lua"] = {6857, true},
-- ["p0007.lua"] = {104743, true},
["p0003.lua"] = {6857, true},
["p0007.lua"] = {104743, true},
["p0076.lua"] = {190569291, true},
}

Expand Down

0 comments on commit b3830bb

Please sign in to comment.