aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-134/abigail/lua/ch-2.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/challenge-134/abigail/lua/ch-2.lua b/challenge-134/abigail/lua/ch-2.lua
index 4ea5926b60..17953dc24f 100644
--- a/challenge-134/abigail/lua/ch-2.lua
+++ b/challenge-134/abigail/lua/ch-2.lua
@@ -12,10 +12,10 @@ for line in io . lines () do
local _, _, m, n = line : find ("([0-9]+)%s+([0-9]+)")
local seen = {}
local count = 0
- for x = 1, m do
- for y = 1, n do
- if seen [x * y] == nil then
- seen [x * y] = 1
+ for i = 1, m do
+ for j = 1, n do
+ if seen [i * j] == nil then
+ seen [i * j] = 1
count = count + 1
end
end