Skip to content

scholvin/aoc-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AOC 2021

This is my code for the Advent of Code 2021 challenge.

I'm not really making any effort for this code to be efficient. Just trying to get the answers right.

I'm testing this with gcc 8.5 and cmake 3.20.

  • It'll probably work with a lot of other compilers.
  • I set the experimental C++20 flag, but it's unlikely I'll use any of those features.

To build:

mkdir build
cd build
cmake ../src
make

This generates the aoc-2021 executable in the build directory. Run it from there, as it will look to ../data for input files. Command line help is available from the executable.

For an optimized build:

mkdir bfast
cd bfast
cmake -DCMAKE_BUILD_TYPE=Release ../src
make

Command line help is available from the executable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published