+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ title = "Advent of Code" date = 2024-11-27 slides = true +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Advent of code ------------------------------------------------------------------------- Advent of Code is an annual programming event ------------------------------------------------------------------------- Its like an advent calendar ------------------------------------------------------------------------- But instead of chocolate ------------------------------------------------------------------------- You can byte into code problems ------------------------------------------------------------------------- Each day of advent gives you two problems ------------------------------------------------------------------------- You get Gold Stars! ------------------------------------------------------------------------- ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐ ------------------------------------------------------------------------- Part one is the easy enough one ------------------------------------------------------------------------- Can brute force it if you really want ------------------------------------------------------------------------- Once ye got the part one complete the second one opens ------------------------------------------------------------------------- Brute forcing may take longer than the heat death of the universe ------------------------------------------------------------------------- So ye have to get smarter ------------------------------------------------------------------------- Plenty of algos to be introduced to ------------------------------------------------------------------------- If you find it easy there are many ways to amp up teh difficulty ------------------------------------------------------------------------- You can compete to complete it fastest ------------------------------------------------------------------------- (A classmate was in teh worldwide top 1000 last year) ------------------------------------------------------------------------- There are global and local leaderboards (we have one) ------------------------------------------------------------------------- You can do it in a new language (I use rust) ------------------------------------------------------------------------- You can create your own language for it (if ye are that insane) ------------------------------------------------------------------------- Some do it in excel ------------------------------------------------------------------------- Or brainfuck ------------------------------------------------------------------------- Or by hand ------------------------------------------------------------------------- You can add [Bad Apple][0] to it (2022 Day 10, make a TV) [0]: https://www.youtube.com/watch?v=EevY4szGgQI ------------------------------------------------------------------------- One downside is it hits us right at exam times ------------------------------------------------------------------------- Another is that the puzzles release at 6am ------------------------------------------------------------------------- Thankfully all past puzzles are available to do ------------------------------------------------------------------------- So we tend to run a second one in January for those who are interested ------------------------------------------------------------------------- <> ------------------------------------------------------------------------- Sign up with yer: ``[GitHub]`` ``[Google]`` ``[Twitter]`` ``[Reddit]`` Accounts ------------------------------------------------------------------------- See Discord (<>) for the daily posts on it. ------------------------------------------------------------------------- *Now get into doing two days worth of puzzles to get ye started*