/AdventOfCode2018

Advent of Code 2018 Solutions in Elixir

Primary LanguageElixir

Advent Of Code 2018: Elixir

This repository contains solutions for the Advent Of Code 2018 developed in Elixir.

Structure

For each day you have four files:

  • The README which contains the problems for both part one and part two for the specific day
  • The input file
  • The solution for part one
  • The solution for part two

Taking as example day 5 those files will be named 5.README.md, 5.input.txt, 5.1.exs and 5.2.exs respectively.

Running

In order to run any of the solutions just do:

▲ elixir [DAY].[PART].exs

For example, running ▲ elixir 1.2.exs will run the solution for part two of day one.