Commit graph

269 commits

Author SHA1 Message Date
Antoine Martin 49e957cff5 2021: day04: bench 2021-12-04 14:55:56 +01:00
Antoine Martin fac1c77bf2 2021: day04: part 2 2021-12-04 14:52:26 +01:00
Antoine Martin 1fb5dd9ec4 2021: day04: part 1 2021-12-04 14:39:22 +01:00
Antoine Martin 5c3a631dde 2021: day02: formatting 2021-12-03 17:35:41 +01:00
Antoine Martin ebc5fe5425 2021: day02: use split_once 2021-12-03 17:34:28 +01:00
Antoine Martin e8a36de2b4 2020: day23: remove TODOs
std::cmp::Ord::clamp can't really help in this situation, not sure what
I had in mind
2021-12-03 16:36:25 +01:00
Antoine Martin d54bddde27 2021: day03: assert that input is safe 2021-12-03 16:15:50 +01:00
Antoine Martin b62fa53ed7 2021: day02: no dirty unwraps 2021-12-03 16:09:14 +01:00
Antoine Martin 2c0bf85249 2021: day03: use lambda for part 2 2021-12-03 15:44:11 +01:00
Antoine Martin 1968c7894f 2021: day03: bench 2021-12-03 15:37:58 +01:00
Antoine Martin 7fb284bfe3 2021: day02: bench 2021-12-03 15:36:54 +01:00
Antoine Martin a776f56915 2021: day03: factorize 2021-12-03 15:33:47 +01:00
Antoine Martin 03746a1dec 2021: day03: part 2 2021-12-03 15:28:06 +01:00
Antoine Martin ee588b7ce7 2021: day03 part 1 2021-12-03 14:45:54 +01:00
Antoine Martin 43c89d10bf 2021: day02: tests 2021-12-02 10:30:09 +01:00
Antoine Martin 0eed53749c 2021: day02: quick solve 2021-12-02 10:25:59 +01:00
Antoine Martin 3aa37aff10 2021: day01: refacto 2021-12-01 10:57:51 +01:00
Antoine Martin 613b240211 2021: day01 bench 2021-12-01 07:39:49 +01:00
Antoine Martin 696c173f93 2021: rm day00 2021-12-01 07:35:34 +01:00
Antoine Martin 0667ca29ad 2021: day01 tests 2021-12-01 07:34:50 +01:00
Antoine Martin 3e991d5ac1 2021: day01 part 1 & part 2 2021-12-01 07:30:10 +01:00
Antoine Martin 0272809c82 ci: fix flags 2021-11-25 16:53:58 +01:00
Antoine Martin d5c85d4a17 2021: setup boilerplate 2021-11-25 16:49:52 +01:00
Antoine Martin ebc57d58b6 cargo: bump to 2021 edition 2021-11-25 16:34:29 +01:00
Antoine Martin e82df94852 clippy: fix lints 2021-11-25 16:23:56 +01:00
Antoine Martin e01307eb3c cargo: fix build by bumping dependencies 2021-11-25 16:18:20 +01:00
Antoine Martin db0eb16a53 flake: setup dev flake 2021-11-25 16:14:32 +01:00
Antoine Martin fc3f8227c6 ci: switch branch to main 2021-11-25 16:04:31 +01:00
Antoine Martin cf3e8038f0 2021: add .lohr file 2021-11-25 15:59:37 +01:00
Antoine Martin b9f4079cd5 2020: day20: document methods 2020-12-31 15:33:57 +01:00
Antoine Martin 27054d60f9 2020: day20: part 2 2020-12-31 15:33:57 +01:00
Antoine Martin a4747e0b94 2020: day20: assemble image for part 2 2020-12-31 15:33:57 +01:00
Antoine Martin 0fbb57f14c 2020: day20: refacto before part 2 2020-12-31 15:33:57 +01:00
Antoine Martin 44c2536b72 2020: day25: pick smallest loop size 2020-12-25 22:18:16 +01:00
Antoine Martin 7249045d0c 2020: day25: part 1 2020-12-25 22:18:16 +01:00
Antoine Martin fda311a7ee 2020: day20: part 1 2020-12-25 09:21:17 +01:00
Antoine Martin 0dbae9bffb 2020: day24: part 2 2020-12-24 15:43:37 +01:00
Antoine Martin 3ebbba3953 2020: day24: part 1 2020-12-24 15:43:37 +01:00
Antoine Martin d998cb02aa 2020: day23: use rotate_left from VecDeque 2020-12-24 02:10:25 +01:00
Antoine Martin 022ca7daab 2020: day23: refacto cup access 2020-12-24 02:10:25 +01:00
Antoine Martin e341008746 2020: day23: part 2 2020-12-24 01:19:23 +01:00
Antoine Martin 9888140072 2020: day23: part 1 2020-12-24 01:19:23 +01:00
Antoine Martin 002f1a2b04 2020: day22: use Hasher for part 2 2020-12-22 16:05:50 +01:00
Antoine Martin 2ddd6b2bfc 2020: day22: optimize part 2
Use the score of the two decks in the set, instead of copying and
storing copies of both decks.
2020-12-22 16:05:50 +01:00
Antoine Martin 17bf26ea14 2020: day22: part 2 2020-12-22 14:41:40 +01:00
Antoine Martin fe1f56bd7d 2020: day22: part 1 2020-12-22 14:41:40 +01:00
Antoine Martin fbd7ae5be2 2020: day21: part 2 2020-12-21 19:27:20 +01:00
Antoine Martin 33fbe9ce5a 2020: day21: part 1 2020-12-21 19:27:20 +01:00
Antoine Martin c0b388dfa0 2020: day19: part 2 2020-12-20 21:05:29 +01:00
Antoine Martin fb9a7e3fc9 2020: day19: part 1 2020-12-20 21:05:29 +01:00