Skip to content
πŸŽ„ Personal Solutions to Advent of Code 2017 (www.adventofcode.com) -- COMPLETE
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.
inputs
solvers
.coveragerc
.gitignore
.travis.yml
README.md
coverage.sh
main.py
performance.md
runner.py
tests

README.md

Advent of Code 2017

Build Status codecov

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 Python 3 installed Simply run python main.py, then input the desired problem number when asked

Example :

10:47 - grasseh:~/adventofcode-2017 (master) - python3 main.py
Welcome to Grasseh's 2017 Advent of Code
Enter your problem number
>00a
The solution to problem 00a is : 21
Execution complete in     0.0186 ms

Unit tests

Tests are written in the solver files. They can be run using

python3 -m unittest discover -s solvers -p '*.py'

or

bash tests

Performance

Each problem has been ran 1000 times. The average can be found in this file

You can’t perform that action at this time.