/AoC2019

Primary LanguagePython

AoC2019

My solutions to Advent of Code 2019

https://adventofcode.com/

Requirements

python >= 3.6

Setup

  1. Clone the repo
git clone https://github.com/vmorris/AoC2019.git
  1. Setup virtual env
cd AoC2019
python3 -m venv venv
source venv/bin/activate
  1. 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