A record of my solutions for 2022 Advent Of Code.
Solutions for each day and task are in separate files. To run the solution, create a file Day_n.txt
with the input pasted in. Then run the .py
file. Data for each task can be accessed through the AoC site.
I have attended AoC in 2022. I did not manage to earn all the stars — only 44, mostly because I wanted to spend one day for each task during the event, and haven't had much motivation redoing the missing days after.
Old solutions were not as pretty as I'd like. Thus I had to rewrite every one of them.
The tests are quite slow (~8 seconds on my machine) because of day 19. I do not think much can be done about it, since its complexity similar to the actual input. Every solution should run under 15 seconds, and most finishing in under a second.
Stars I got in 2022 are denoted by ⭐. All the other stars were obtained during creation of this repository.
50/50⭐ | 木 | 金 | 土 | 日 | 月 | 火 | 水 |
---|---|---|---|---|---|---|---|
Week 1 | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ |
Week 2 | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ | ⭐ ⭐ |
Week 3 | ⭐ ⭐ | ⭐ ⭐ | ⭐ ✨ | ⭐ ⭐ | ✨ ✨ | ⭐ ✨ | ⭐ ⭐ |
Week 4 | ⭐ ✨ | ⭐ ⭐ | ⭐ ⭐ | ⭐ 🌟 | 🎄 🎄 |
★ Set up repository
★ Write a TODO list
★ Create templates
★ Design test functionality
★ Write solutions for the first 4 days, originally written in JavaScript
★ Refactor all the other solutions
★ Write solutions for missing days