AoC2019
My solutions to Advent of Code 2019
Requirements
python >= 3.6
Setup
- Clone the repo
git clone https://github.com/vmorris/AoC2019.git
- Setup virtual env
cd AoC2019
python3 -m venv venv
source venv/bin/activate
- Install
pip install -e .
Execution
Run a given day's solution (if available) with python aoc/day#.py
and the first argumetnt is the data file for the day.
For example:
(venv) vance@holocron:~/git/github.com/vmorris/AoC2019$ python aoc/day1.py data/day1.txt
Part One: 3256794
Part Two: 4882337