Skip to content

Instantly share code, notes, and snippets.

Avatar

Lycea

  • Somewhere near the lake of constance (Germany)
View GitHub Profile
View code_advent_1.lua
--code advent first day_sample fuel from mass
--part1 function
function calc_fuel(mass)
return math.floor(mass/3)-2
end
function calc_additional(fuel)
You can’t perform that action at this time.