Skip to content

Latest commit

 

History

History

2020

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

🎄 Advent of Code 2020 🎄

How to Run

Run

$ cargo run --release --bin <xx>

and replace <xx> by the day number, e.g. 05, or 17.

Some solutions use new Rust features not yet available in the stable release. They can be recognized by the following error:

error[E0554]: `#![feature]` may not be used on the stable release channel

If you see this error you need compile using the nightly toolchain of Rust:

$ cargo +nightly run --release --bin <xx>

Solutions

The last column contains improved solutions inspired by solutions of other people.

Day Problem Solution Improved Solution
1 Report Repair src/bin/01.rs
2 Password Philosophy src/bin/02.rs
3 Toboggan Trajectory src/bin/03.rs
4 Passport Processing src/bin/04.rs
5 Binary Boarding src/bin/05.rs src/bin/05_up.rs
6 Custom Customs src/bin/06.rs src/bin/06_up.rs
7 Handy Haversacks src/bin/07.rs
8 Handheld Halting src/bin/08.rs src/bin/08_up.rs
9 Encoding Error src/bin/09.rs
10 Adapter Array src/bin/10.rs
11 Seating System src/bin/11.rs
12 Rain Risk src/bin/12.rs
13 Shuttle Search src/bin/13.rs
14 Docking Data src/bin/14.rs
15 Rambunctious Recitation src/bin/15.rs
16 Ticket Translation src/bin/16.rs
17 Conway Cubes src/bin/17.rs
18 Operation Order src/bin/18.rs
19 Monster Messages src/bin/19.rs
20 Jurassic Jigsaw src/bin/20.rs
21 Allergen Assessment src/bin/21.rs
22 Crab Combat src/bin/22.rs
23 Crab Cups src/bin/23.rs
24 Lobby Layout src/bin/24.rs
25 Combo Breaker src/bin/25.rs