blu3r4y / AdventOfCode2023

My solutions for the Advent of Code 2023 challenges, written in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2023

My solutions for the AoC 2023 challenges, written in Python.

πŸŽ„ πŸŽ„ πŸŽ„

Puzzles

Day 🧩 Puzzle 🐍 Solution ⏳ Duration A ⏳ Duration B
1 Trebuchet?! day1.py - -
2 Cube Conundrum day2.py - -
3 Gear Ratios day3.py - -
4 Scratchcards day4.py - -
5 If You Give A Seed A Fertilizer day5.py - -
6 Wait For It day6.py - -
7 Camel Cards day7.py 26 ms 46 ms
8 Haunted Wasteland day8.py - 191 ms
9 Mirage Maintenance day9.py - -
10 Pipe Maze day10.py 286 ms 391 ms
11 Cosmic Expansion day11.py 13 ms 17 ms
12 Hot Springs day12.py 37 ms 1.044 ms
13 Point of Incidence day13.py 11 ms 11 ms
14 Parabolic Reflector Dish day14.py - 2.310 ms
15 Lens Library day15.py - -
16 The Floor Will Be Lava day16.py 12 ms 3.409 ms
17 Clumsy Crucible day17.py 1.762 ms 5.780 ms
18 Lavaduct Lagoon day18.py - -
19 Aplenty day19.py - -
20 Pulse Propagation day20.py 32 ms 131 ms
21 Step Counter day21.py 168 ms 23.103 ms
22 Sand Slabs day22.py 624 ms 647 ms
23 A Long Walk day23.py 98 ms 1 min 18 sec
24 Never Tell Me The Odds day24.py 115 ms 90 ms
25 Snowverload day25.py 3.076 ms

Timings are measured on my computer in a non-scientific way. Empty durations indicate a runtime of less than ten milliseconds. Bold durations indicate a runtime of more than one minute.

Requirements

Python 3.12

Package requirements are specified in the requirements.txt file.

pip install -r requirements.txt

You should install the pre-commit hooks and its dependencies to format the code before committing.

pip install pre-commit black isort flake8
pre-commit install

About

My solutions for the Advent of Code 2023 challenges, written in Python

License:MIT License


Languages

Language:Python 100.0%