Skip to content

Latest commit

 

History

History

2020

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AdventOfCode2020

My solutions for Advent Of Code 2020 in C++20 to complete all puzzles for 50 ⭐.

Arguments

--all #Run all days
--day <number> #Run the puzzle from the selected day

If no arguments are used, the application will calculate the last available puzzle.

Structure

  • Each puzzle is stored in a separate file which can be found with the links below
  • Part 1 and 2 are implemented in a single DayX.h + DayX.cpp file to share code if possible
    • Each solution contains a SolveFirst method to solve the first part and SolveSecond for the second part
  • Inputs are stored in input/ with the files named 01.txt, 02.txt, ... for each puzzle
    • The input is loaded into an input struct (input.h) which can be accessed as a raw string or line vector in each solution struct

Solutions