bg2b / aoc17

Advent of Code 2017

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2017

Info and problems are available at https://adventofcode.com/2017

Overview

Each day's problem input and solution is in a subdirectory, 01, 02, etc.

Solutions are C++. Compile with:

g++ -std=c++17 -Wall -g -o doit doit.cc

Input has sometimes been pre-processed for ease of reading. Example input if any is called input1. The real input is input (note, my inputs are no longer included in the repository).

Input is on stdin, output is printed to stdout. Run part 1 as ./doit 1 < input and part 2 as ./doit 2 < input

Sometimes I might go back and revisit a problem in a different (usually more efficient) way. Alternatives will be other .cc files starting with doit.

Recommended problems

Here's my list of recommended problems for the year, along with direct links. Recommendations are based on a combination of factors: perhaps the problem admits an unusual and clever solution, or perhaps it would allow an interesting visualization, or perhaps the problem description itself was cute. In whatever way, I found the problem unusually fun. Each of these problems is either ⭐ (recommended) or ⭐⭐ (highly recommended).

Advent calendar for 2017

About

Advent of Code 2017

License:MIT License


Languages

Language:C++ 100.0%