Skip to content
πŸŽ… Personal solutions to Advent of Code 2016 challenges
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
input
resources
src/adventofcode2016
test/adventofcode2016
.gitignore
CHANGELOG.md
LICENSE
README.md
project.clj

README.md

Advent of Code 2016

Contains my personal solutions to Advent of code problems.

Advent of code is hosted on http://adventofcode.com

Usage

This projects assumes having inputs named input/dayXY at the root, where X is the number of the day and Y is the letter of the problem for the day. Example : input/day03b

To run the app, you need to have a Clojure REPL ready. If you are using Leiningen, simply run lein run, then input the desired problem number when asked

Example :

10:47 - grasseh:~/projects/cloj/adventofcode-2016 (master) - lein run
Select a level
>03b
You select problem #03b.
Your solution is 1234567

Units tests

Unit tests are set up using the default leiningen application framework. Simply run

10:47 - grasseh:~/projects/cloj/adventofcode-2016 (master) - lein test

Inputs for the tests are in test/input. They are based on the examples provided in the official exemples.

Notes

Day 4 -- Problem 2

Running The 2nd problem will not provide the solution, but a descrypted list of the input. Just copy paste the data to a text file and grep for "northpole"

You can’t perform that action at this time.