Advent of Code 2024

Day 1 - Historian Hysteria

As most years I try to do the advent of code challenges. Sadly I haven’t posted anything except the first day last year. Although this, this years language will be nim. Nim is a “statically typed compiled systems programming language”. Nim can be thought of as Python but compiled. There are some quicks here and there but overall the language is fully functional. Some problems the language currently faces is that there a people who write malware with it, as it is easy to code with and can cross-compile. [Read More]

Advent of Code 2024

Day 2 - Red-Nosed Reports

Let’s move on with advent of code day 2. A little harder than yesterday, but still managable. Part 1 The unusual data (your puzzle input) consists of many reports, one report per line. Each report is a list of numbers called levels that are separated by spaces. The engineers are trying to figure out which reports are safe. The Red-Nosed reactor safety systems can only tolerate levels that are either gradually increasing or gradually decreasing. [Read More]