Tomorrow, at 6:00 AM CET, will begin the Advent of Code.
Short presentation
The Advent of Code is an annual programming challenge, composed of small programming puzzles (instead of chocolates in traditional Advent calendars :)). Each day, at 6:00 AM CET, a problem in two parts will be unlocked, each part giving a star. I have already participated and managed to collect all 50 stars twice, in 2019 with Python and in 2020 with Rust.
Objectives
Last year, I was able to collect all 50 stars less than 24 hours after the unlocking of the corresponding problems, but I could never enter in the top 1000 solvers (my best result was a 1578th place for the last star). I will try to improve my ranks this year.
My other objective is to produce efficient code. In 2020, I decided to not submit any solution if the total (i.e for both parts combined) execution time of the module that computed it was greater than 15 seconds. This year, as I bought a new (and much faster) computer, this time limit will be lowered to 6 seconds.
Tools
This year, I will use Rust again (version 1.56), and my text editor will be Vim 8.2.
Repository
My code will be posted on my self-hosted Redmine forge, and commented on this blog.