mfrdbigolin / AoC2022

Advent of Code 2022 with C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AoC2022: My Advent of Code 2022 Solutions

Public license Programming Language

My C++ solutions to Advent of Code 2022 (also known as AoC2022) in this cheerful month of Noël.

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

Building

Use make to build the program; the executable file advent is 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 2022 with C++

License:MIT License


Languages

Language:C++ 96.6%Language:Makefile 3.4%