Skip to content

Latest commit

 

History

History

2022

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Advent of Code 2022

This folder contains solutions to each of the problems in Advent of Code 2022 in C++.

Note

  • The sample puzzles for some days (eg 9) multiple sample inputs. Edit the file before using it.
  • Some solutions for some days (eg 15) need different constants for the sample input and the puzzle input. Edit the file before using it.
Puzzle C++ Solutions Input Sample Input Puzzle page with solutions
Day 1: Calorie Counting Part 1 Part 2 Link Link Link
Day 2: Rock Paper Scissors Part 1 Part 2 Link Link Link
Day 3: Rucksack Reorganization Part 1 Part 2 Link Link Link
Day 4: Camp Cleanup Part 1 Part 2 Link Link Link
Day 5: Supply Stacks Part 1 Part 2 Link Link Link
Day 6: Tuning Trouble Part 1 Part 2 Link Link Link
Day 7: No Space Left On Device Part 1 Part 2 Link Link Link
Day 8: Treetop Tree House Part 1 Part 2 Link Link Link
Day 9: Rope Bridge Part 1 Part 2 Link Link Link
Day 10: Cathode-Ray Tube Part 1 Part 2 Link Link Link
Day 11: Monkey in the Middle Part 1 Part 2 Link Link Link
Day 12: Hill Climbing Algorithm Part 1 Part 2 Link Link Link
Day 13: Distress Signal Part 1 Part 2 Link Link Link
Day 14: Regolith Reservoir Part 1 Part 2 Link Link Link
Day 15: Beacon Exclusion Zone Part 1 Part 2 Link Link Link
Day 16: Proboscidea Volcanium Part 1 Part 2 Link Link Link
Day 17: Pyroclastic Flow Part 1 Part 2 Link Link Link
Day 18: Boiling Boulders Part 1 Part 2 Link Link Link
Day 19: Not Enough Minerals Part 1 Part 2 Link Link Link
Day 20: Grove Positioning System Part 1 Part 2 Link Link Link
Day 21: Monkey Math Part 1 Part 2 Link Link Link
Day 22: Monkey Map Part 1 Part 2 Link Link Link
Day 23: Unstable Diffusion Part 1 Part 2 Link Link Link
Day 24: Blizzard Basin Part 1 Part 2 Link Link Link
Day 25: Full of Hot Air Part 1 Link Link Link