language: Lua (luac 5.1.4)
date: 394 days 13 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local next = next
a = {[1]=1}
b = {}
c = 0
for i=1,1000000 do
    if next(a) then
        c = c + 1
    else
        c = c + 2
    end
end
for i=1,1000000 do
    if next(b) then
        c = c + 1
    else
        c = c + 2
    end
end
print(c)