Skip to content

Participation to Advent of Code puzzles with C++ language

License

Notifications You must be signed in to change notification settings

lcaruso27/adventofcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adventofcode

Collection of my participation to advent of code puzzles with C++ language.


Requirements

  • CMake >= 3.22.1
  • Make >= 4.3
  • gcc >= 11.3.0

Getting started

Here are the commands to build executables:

mkdir build
cmake -S . -B build
cd build && make

Run day XX

./<yyyy>/day<dd>_main <input_file>

Add new day

  1. Get cookie session from advent of code (need registration) & copy-paste it to <yyyy>/.cookie file

  2. Run (as expected) add_new_day.sh bash script:

./add_new_day.sh <yyyy> <dd> <description>

About

Participation to Advent of Code puzzles with C++ language

Topics

Resources

License

Stars

Watchers

Forks