- Clone this repo (into ~/projects/ for example)
- Run
rustup
if you don't have Rust installed https://rustup.rs/ - Run
cargo run --release
in the terminal
Macbook M1 2020 (aarch64), 16GB RAM
If you compile this and run it, the answers to the problems will be spoiled for you! Run at your own risk.
- Code is not optimized for readability or speed of execution
- Execution times are an estimate, they're not run 1000x for more accurate averages.
unwrap()/expect()
everywhere! I'm not shooting for perfect, correct Rust :)
Day | Part 1 | Part 2 | Difficulty |
---|---|---|---|
1 | ✅ 165.54µs | ✅ 1.96ms | Annoying |
2 | ✅ 125.33µs | ✅ 108.21µs | Easy |
3 | ✅ 9.87ms | ✅ 9.39ms | Easy |
4 | ✅ 381.29µs | ⏳ | Easy |