Commit Graph

26 Commits

Author SHA1 Message Date
5161a22967 Make things ~40% faster by using explicit 1/2 valued objects instead of vectors. 2020-12-15 16:03:45 -08:00
cb0c6fa861 I feel like there's a fancier way to solve this, but brute force worked pretty well. Day 15. 2020-12-15 14:00:05 -08:00
89045c9f58 Day 14! 2020-12-14 09:58:24 -08:00
548a24a278 Day 13. Stupid math. 2020-12-13 17:50:43 -08:00
710b42cfc4 Day 12 done! 2020-12-12 14:11:34 -08:00
a518a3bbcd Mising formatting mod. 2020-12-12 14:11:12 -08:00
a2b48b59b4 Learn from clippy. 2020-12-11 10:46:45 -08:00
3e31c00505 Clean up some formatting. 2020-12-11 10:39:25 -08:00
806f86214b Day 11. Sigh. 2020-12-11 10:13:12 -08:00
0e7746bdde Day 10. Took a bit longer because I tried petgraph, which was not as helpful as I'd hoped. 2020-12-10 11:02:46 -08:00
cc049417d6 A fairly naive solution to Day 9. 2020-12-09 14:20:45 -08:00
a77a039c70 Small formatting wibbles. 2020-12-08 10:03:27 -08:00
ec0205f8de I guess main can return Results now. 2020-12-08 10:02:42 -08:00
ab417307f3 A Day 8 solution I'm pretty happy with. 2020-12-08 09:58:17 -08:00
001a8cf012 Try using thiserror to remove some boilerplate. 2020-12-07 20:35:03 -08:00
b06c528c4c Day 7. Now I remember why I'm skeptical of parser combinators. 2020-12-07 19:49:35 -08:00
8c79964316 Learn a bit from clippy. 2020-12-07 19:49:14 -08:00
8604b925ee Day 6! 2020-12-06 13:44:35 -08:00
8c89b9d870 Not a particularly elegant solution for Day 5, but a nice chance to use BTreeSet. 2020-12-05 14:13:45 -08:00
bde3cf1e1e Formatting wibbles before starting day 5. 2020-12-05 09:36:03 -08:00
368e57f096 A solution to Day 4 ... that I don't love, but works. 2020-12-04 08:31:10 -08:00
deeaf11835 A bit of an overly-fussy implementation for Day 3. 2020-12-03 08:31:35 -08:00
12819f0eb8 Some formatting cleanups. 2020-12-03 07:49:59 -08:00
5a495ddc17 Do Day 2, playing around with nom v6 2020-12-02 09:55:36 -08:00
e6be53686f Just noticed that I forgot to reset the worker to midpoint in the search.
This doesn't actually matter, except in an unfortunate edge case that turns out
to never happen.
2020-12-01 08:46:56 -08:00
Adam Wick
1cb05050b3 Day 1 done! 2020-12-01 08:39:50 -08:00