This year the rules are more strict and writing it in rust will not suffice. We have to adhere to following rules:
- No semicolons
- No Crates
- No if
- no while
- no use
- no recursion
To run day 3 part 2 use the following command:
cargo run --bin day_3_part2
Remember there is no _
(underscore) after part in above command so don't do something like day_3_part_2
One of my favorite mentor museun started writing advent of code 2021 using this approach (like no semicolon etc.). So, I thought I should also try. After doing one or two puzzle I really like this approach and it makes me think differently. So I decided to solve aoc 2021 puzzles using this approach.
- Museun's solution of aoc 2021
- Diet Semicola - Twitch Bot
Museun for the idea and wonderful contribution