mfrdbigolin / AoC2015

Advent of Code 2015 with C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AoC2015: Advent of Code 2015 C++ Solutions

Public license Programming Language

My C++ solutions to the very first Advent of Code 2015 (i.e., AoC2015) some years too late.

When working on my solutions, I strive to make them as general as possible, that is, they could be adapted to solve similar problems. Elegance, readability, and efficiency, in this order, are also my concerns, though secondary after generality.

Dependencies

Install the following libraries, if needed:

Building

Use make to build the program; the executable file advent will be located in the bin directory. To clean the output directories, use make clean.

Usage

The general usage of advent, for a particular DAY, is

  • advent DAY

Additionally, if you have another input for a particular day stored in the inputs’ folder, name it in the format dayDAY.EXT.txt, where EXT is any arbitrary extension. To use it, append EXT to the end of the command, like this:

  • advent DAY EXT

Licensing

This repository is licensed with the MIT (Expat) (SPDX-License-Identifier: MIT); everyone with a copy of this software is permitted to use, modify, distribute, and/or sublicense it, provided that the LICENSE and the copyright headers on the top of each source file are preserved in copies of this package.

There is no warranty of any kind for this material, nor the author is liable for any third-party use of this collection. For more details and clarification, please read the LICENSE in full text.

About

Advent of Code 2015 with C++

License:MIT License


Languages

Language:C++ 92.7%Language:Makefile 7.3%