Fixed a bug in the day1 solution where the list of totals could add the "current sum" for a given elf to the list each time a new entry was added e.g. an input like, 100 200 300 could result in a list like, [300, 200, 100]. Now we reorder the list at each "reset" (empty line).
21 lines
453 B
Markdown
21 lines
453 B
Markdown
# Aoc
|
|
|
|
**TODO: Add description**
|
|
|
|
## Installation
|
|
|
|
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
|
|
by adding `aoc` to your list of dependencies in `mix.exs`:
|
|
|
|
```elixir
|
|
def deps do
|
|
[
|
|
{:aoc, "~> 0.1.0"}
|
|
]
|
|
end
|
|
```
|
|
|
|
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
|
|
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
|
|
be found at <https://hexdocs.pm/aoc>.
|
|
|