Dump of my solutions for the advert calender 2018. I'm not really going for amazing performance or perfection here, just looking to solve the problem in a timely matter so these are pretty rough. Maybe I'll try to optimize them later.
Tested with Node in the terminal by simply running something like node day1/1.js