Commit Graph

67 Commits

Author SHA1 Message Date
70450dbcdc
Vec::retain does not go brrrr 2021-12-03 18:02:18 +01:00
9a03a4f499 Generalize input bench macro 2021-12-03 17:05:53 +01:00
5d90f44f2b Don’t use log2 to get around bit count 2021-12-03 15:24:26 +01:00
312f526345 Make day 3 not awful 2021-12-03 12:00:58 +01:00
8a60ce83f9
Add missing semicolon in day template 2021-12-03 07:02:58 +01:00
61ec05955a
Add day 3 (bad) 2021-12-03 07:01:36 +01:00
e9a3ead7c2 Add DAY constant to each file for input reading 2021-12-02 10:31:23 +01:00
329be3f1c1
Add day 2 2021-12-02 06:13:01 +01:00
b734f0c5af
Get alternative input file via env variable instead 2021-12-01 23:12:39 +01:00
731d7f5e33 Move imports into macros 2021-12-01 14:16:29 +01:00
250bad526c Revert "Remove env stuff from input reading"
I remember now. This was so I can `cargo run bigboy_input` without code changes
2021-12-01 14:12:36 +01:00
63c695608e Remove env stuff from input reading
No idea what last year me was thinking
2021-12-01 13:30:10 +01:00
85370a3b3b Use aocd to get daily input
see https://pypi.org/project/advent-of-code-data/
2021-12-01 09:54:28 +01:00
a044e4cf1b
Refactor day 1
tuple_windows is terribly slow, wtf
2021-12-01 06:26:45 +01:00
94bf221efd
Add day 1
Part 2 is ugly. Better solution later when it’s not 6AM anymore
2021-12-01 06:19:33 +01:00
1c3ae8ec96 Minor rustfmt changes 2021-11-22 16:34:19 +01:00
a65c137864 Set up everything for 2021 2021-11-22 14:30:40 +01:00