adventofcode-2016/day25/working_1.txt
2016-12-27 12:15:01 +00:00

37 lines
349 B
Plaintext

d = a
c = 7
b = 362
d = d + (b*c)
b = 0
c = 0
IF 0
a = d
IF NOT 0
b = a
a = 0
c = 2
while b != 0
b = b - 1
c = c - 1
if c == 0
a = a + 1#
c = 2
end if
end while
if a odd c = 1
if a even c = 2
a = roundDown(a / 2)
b = 2
/*while c != 0
b = b - 1
c = c - 1
end if*/
b = b - c
c = 0
output b
GO BACK UP