/adventofcode2019

Advent of Code 2019

Primary LanguageJavaScript

Solutions for Advent Of Code 2019

https://adventofcode.com

  1. Install
npm install
  1. Run Puzzle
% node advent --help
Usage: advent [options]

Options:
  -i, --input [filename]     Set input filename
  -p, --puzzle [puzzlename]  choose what puzzle to load (e.g. 1-1, or 13-2)
  -v, --verbose              Verbose mode on
  -a, --argument [arg]       Extra argument specific to Puzzle
  -t, --timing               Display execution time
  -h, --help                 output usage information


% node advent -p 2-1 -i input/2.txt
6225

% node advent -p 6-2 -i input/test6.1.txt -a 32
16