Skip to content

GrigoryanArtem/advent-of-code

Repository files navigation

Advent of Code

Solutions to the Advent of Code problems.

By default, the application uses the current day, year, and input data. To run on a specific day and year, use:

aoc.exe --year 2024 --day 3

To run on examples, use:

aoc.exe --examples

To use custom input:

aoc.exe --input "C:\input.txt"

Input

Place your input to
<year>/input/<day>.in
./2024/input/3.in

Place your examples to
<year>/examples/<day>.in
./2024/examples/3.in

Legend

🟩 Easy
🟨 Medium
🟥 Hard

Time was measured by running each part n times and finding the average result. The i9-13900K was used for testing.

Events

Year
2024 50
2023 2
2019 28

2024

# Day Problem Part 1 time, ms. Part 2 time, ms. Code
🟩 01 Historian Hysteria 0.07 0.04 Code
🟨 02 Red-Nosed Reports 0.17 0.17 Code
🟩 03 Mull It Over 0.20 0.25 Code
🟩 04 Ceres Search 5.4 2.5 Code
🟩 05 Print Queue 0.10 0.25 Code
🟨 06 Guard Gallivant 0.05 7 Code
🟩 07 Bridge Repair 0.22 0.39 Code
🟩 08 Resonant Collinearity 0.03 0.08 Code
🟩 09 Disk Fragmenter 0.31 56 Code
🟩 10 Hoof It 0.47 0.13 Code
🟩 11 Plutonian Pebbles 0.21 5.4 Code
🟨 12 Garden Groups 0.47 0.31 Code
🟩 13 Claw Contraption 0.01 0.01 Code
🟥 14 Restroom Redoubt 0.07 0.9 Code
🟩 15 Warehouse Woes 2.1 2.4 Code
🟩 16 Reindeer Maze 8 8 Code
🟥 17 Chronospatial Computer 0.03 0.65 Code
🟩 18 RAM Run 0.64 0.64 Code
🟩 19 Linen Layout 13 13 Code
🟨 20 Race Condition 2.8 116 Code
🟥 21 Keypad Conundrum 0.2 0.8 Code
🟩 22 Monkey Market 1.1 32 Code
🟨 23 LAN Party 0.5 6.5 Code
🟨 24 Crossed Wires 0.3 0.5 Code
🟩 25 Code Chronicle 1 - Code

2023

# Day Problem Part 1 time, ms. Part 2 time, ms. Code
🟩 01 Trebuchet?! 0.2 0.3 Code

2019

# Day Problem Part 1 time, ms. Part 2 time, ms. Code
🟩 01 The Tyranny of the Rocket Equation 0.004 0.005 Code
🟩 02 1202 Program Alarm 0 0.36 Code
🟩 03 Crossed Wires 6.9 8.7 Code
🟩 04 Secure Container 1 0.4 Code
🟩 05 Sunny with a Chance of Asteroids 0.002 0.003 Code
🟩 06 Universal Orbit Map 0.9 0.1 Code
🟩 07 Amplification Circuit 0.23 0.24 Code
🟩 08 Space Image Format 0.004 0.02 Code
🟩 09 Sensor Boost 0.01 2.3 Code
🟨 10 Monitoring Station 4.8 6.6 Code
🟩 11 Space Police 1.6 0.1 Code
🟨 12 The N-Body Problem 0.16 5.7 Code
🟩 13 Care Package 0.21 5.1 Code
🟩 14 Space Stoichiometry 0.02 0.13 Code

About

Solutions to the Advent of Code problems

Topics

Resources

License

Stars

Watchers

Forks

Languages