Totto16 / AOC-2023

AOC-2023 in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visitors

AoC 2023

Welcome to my Advent of Code 2023 repository! The solutions are written in C++23 using Meson as build system. The solutions aren't optimized for speed, more for readability.

Running the solutions

For running the code you need meson and a C++23 std compatible compiler (e.g. GCC)

Then you can use meson to compile and than execute the solutions

meson setup build
meson compile -C build
./build/aoc 01 -- or 02 etc.

Features

  • base class, that gets the input from file and handles other stuff
  • easy input and / or Example handling
  • global register map for easy registering of days, than you can execute all registered days
  • cli options for measuring time, executing certain days
  • colorful output
  • exact measurements down to nanoseconds via std::chrono

Preview

Preview of the cli

2023 Results

Day Part 1 Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7
Day 8
Day 9
Day 10

About

AOC-2023 in C++


Languages

Language:C++ 90.4%Language:Meson 9.6%