Skip to content

Latest commit

 

History

History
executable file
·
86 lines (69 loc) · 3.87 KB

README.md

File metadata and controls

executable file
·
86 lines (69 loc) · 3.87 KB

The folders for each day contain Python implementations for solving the two parts of each problem with the provided input files. Every implementation has been tested using both Python 2.7 and Python 3.6.

Setup

git clone --branch master https://github.com/jdswalker/Advent-of-Code-2015.git
cd Advent-of-Code-2015

Usage

python -m advent_of_code [-h] [-v] -p DAY [-f PATH]
python -m advent_of_code [--help] [--version] --puzzle DAY [--file PATH]

Examples:

# Run test cases for Advent of Code day 2
python -m advent_of_code -p 2
No puzzle input was provided
Running test cases for Advent of Code 2015 Day 2: I Was Told There Would Be No Math
Test passed for input 2x3x4
Test passed for input 1x1x10

# Run Advent of Code day 2 with puzzle input
python -m advent_of_code -p 2 -i puzzle_inputs/day-02.txt
Advent of Code 2015 Day 2: I Was Told There Would Be No Math
The elves should order 1586300 feet of wrapping paper
and 3737498 feet of ribbon.

Programming Puzzles

Advent of Code is a series of small programming puzzles for a variety of skill levels. They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

Advent of Code Credits

Design & Code: Eric Wastl

Beta Testing: Tim Giannetti and Ben Lucek

Community Managers: Danielle Lucek and Aneurysm9