🎄 Christmas Coding with Elixir, Day 1

Image for post
Image for post
Santa: Big Elixir fan

The Puzzle: Part 1

Solving It

cat input.txt | ./advent1.1.exs
$ cat input.txt | ./advent1.1.exs
439

The Puzzle: Part 2

Solving It

$ cat input.txt | ./advent1.2.exs
124645

Summary

Written by

Señor Developer specialising in open-source languages, particularly Ruby & Elixir. whisky.fuelled.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store