Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blu3r4y/adventofcode2023
My solutions for the Advent of Code 2023 challenges, written in Python
https://github.com/blu3r4y/adventofcode2023
advent-of-code advent-of-code-2023
Last synced: 27 days ago
JSON representation
My solutions for the Advent of Code 2023 challenges, written in Python
- Host: GitHub
- URL: https://github.com/blu3r4y/adventofcode2023
- Owner: blu3r4y
- License: mit
- Created: 2023-11-30T21:25:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-25T05:25:49.000Z (about 1 year ago)
- Last Synced: 2023-12-25T20:56:49.638Z (about 1 year ago)
- Topics: advent-of-code, advent-of-code-2023
- Language: Python
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Advent of Code 2023
My solutions for the [AoC 2023](https://adventofcode.com/2023) challenges, written in Python.
🎄 🎄 🎄
## Puzzles
| Day | 🧩 Puzzle | 🐍 Solution | ⏳ Duration A | ⏳ Duration B |
| --: | :------------------------------------------------------------------------- | :----------------------- | ------------: | ---------------: |
| 1 | **[Trebuchet?!](https://adventofcode.com/2023/day/1)** | [day1.py](src/day1.py) | - | - |
| 2 | **[Cube Conundrum](https://adventofcode.com/2023/day/2)** | [day2.py](src/day2.py) | - | - |
| 3 | **[Gear Ratios](https://adventofcode.com/2023/day/3)** | [day3.py](src/day3.py) | - | - |
| 4 | **[Scratchcards](https://adventofcode.com/2023/day/4)** | [day4.py](src/day4.py) | - | - |
| 5 | **[If You Give A Seed A Fertilizer](https://adventofcode.com/2023/day/5)** | [day5.py](src/day5.py) | - | - |
| 6 | **[Wait For It](https://adventofcode.com/2023/day/6)** | [day6.py](src/day6.py) | - | - |
| 7 | **[Camel Cards](https://adventofcode.com/2023/day/7)** | [day7.py](src/day7.py) | 26 ms | 46 ms |
| 8 | **[Haunted Wasteland](https://adventofcode.com/2023/day/8)** | [day8.py](src/day8.py) | - | 191 ms |
| 9 | **[Mirage Maintenance](https://adventofcode.com/2023/day/9)** | [day9.py](src/day9.py) | - | - |
| 10 | **[Pipe Maze](https://adventofcode.com/2023/day/10)** | [day10.py](src/day10.py) | 286 ms | 391 ms |
| 11 | **[Cosmic Expansion](https://adventofcode.com/2023/day/11)** | [day11.py](src/day11.py) | 13 ms | 17 ms |
| 12 | **[Hot Springs](https://adventofcode.com/2023/day/12)** | [day12.py](src/day12.py) | 37 ms | 1.044 ms |
| 13 | **[Point of Incidence](https://adventofcode.com/2023/day/13)** | [day13.py](src/day13.py) | 11 ms | 11 ms |
| 14 | **[Parabolic Reflector Dish](https://adventofcode.com/2023/day/14)** | [day14.py](src/day14.py) | - | 2.310 ms |
| 15 | **[Lens Library](https://adventofcode.com/2023/day/15)** | [day15.py](src/day15.py) | - | - |
| 16 | **[The Floor Will Be Lava](https://adventofcode.com/2023/day/16)** | [day16.py](src/day16.py) | 12 ms | 3.409 ms |
| 17 | **[Clumsy Crucible](https://adventofcode.com/2023/day/17)** | [day17.py](src/day17.py) | 1.762 ms | 5.780 ms |
| 18 | **[Lavaduct Lagoon](https://adventofcode.com/2023/day/18)** | [day18.py](src/day18.py) | - | - |
| 19 | **[Aplenty](https://adventofcode.com/2023/day/19)** | [day19.py](src/day19.py) | - | - |
| 20 | **[Pulse Propagation](https://adventofcode.com/2023/day/20)** | [day20.py](src/day20.py) | 32 ms | 131 ms |
| 21 | **[Step Counter](https://adventofcode.com/2023/day/21)** | [day21.py](src/day21.py) | 168 ms | 23.103 ms |
| 22 | **[Sand Slabs](https://adventofcode.com/2023/day/22)** | [day22.py](src/day22.py) | 624 ms | 647 ms |
| 23 | **[A Long Walk](https://adventofcode.com/2023/day/23)** | [day23.py](src/day23.py) | 98 ms | **1 min 18 sec** |
| 24 | **[Never Tell Me The Odds](https://adventofcode.com/2023/day/24)** | [day24.py](src/day24.py) | 115 ms | 90 ms |
| 25 | **[Snowverload](https://adventofcode.com/2023/day/25)** | [day25.py](src/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](requirements.txt)** file.
```sh
pip install -r requirements.txt
```You should install the pre-commit hooks and its dependencies to format the code before committing.
```sh
pip install pre-commit black isort flake8
pre-commit install
```