Commit graph

200 commits

Author SHA1 Message Date
Antoine Martin 5e5111d80f add Makefile
I can never remember how to run ignored tests, so now I don't have to
2020-12-15 10:50:18 +01:00
Antoine Martin ea05aca51c 2020: day15: part 2 2020-12-15 10:48:22 +01:00
Antoine Martin 61125c42a1 2020: day15: part 1 2020-12-15 09:56:43 +01:00
Antoine Martin c1b14d8768 bump crates to latest version 2020-12-15 00:45:27 +01:00
Antoine Martin 60b5398737 2018: switch to anyhow 2020-12-14 20:35:10 +01:00
Antoine Martin 885081d3fe 2015: switch to anyhow 2020-12-14 20:35:10 +01:00
Antoine Martin 9a2e37468f 2019: fix new clippy lints 2020-12-14 20:35:10 +01:00
Antoine Martin deb808faf3 2019: switch to anyhow 2020-12-14 20:35:10 +01:00
Antoine Martin d91165207f 2020: switch to anyhow 2020-12-14 20:35:10 +01:00
Antoine Martin f148347e5b add README 2020-12-14 15:29:59 +01:00
Antoine Martin 862d3d4ef0 2020: day14: add bench 2020-12-14 14:58:19 +01:00
Antoine Martin 18ddbd1310 2020: day14: cleanup and comments 2020-12-14 14:11:08 +01:00
Antoine Martin 8017827edc 2020: day14: part 2 2020-12-14 14:02:04 +01:00
Antoine Martin b0c1b83c19 2020: day14: refacto to prepare part 2 2020-12-14 13:05:50 +01:00
Antoine Martin 514a93213c 2020: day14: part 1 2020-12-14 11:04:57 +01:00
Antoine Martin f9e1306881 2020: introduce anyhow 2020-12-14 09:52:13 +01:00
Antoine Martin d457461d2f 2020: day13: refacto / more tests 2020-12-13 17:47:58 +01:00
Antoine Martin 4c928e06ac 2020: day13: part 2 2020-12-13 17:28:29 +01:00
Antoine Martin 39d7098f36 2020: day13: part 1 2020-12-13 15:22:23 +01:00
Antoine Martin bae2c9cb2c 2020: day12: factorize quadrant computation 2020-12-12 19:07:42 +01:00
Antoine Martin 8d34969eaa 2020: day12: refacto moving towards waypoint 2020-12-12 17:35:59 +01:00
Antoine Martin fb981e8103 2020: day12: use i64 everwhere 2020-12-12 17:06:08 +01:00
Antoine Martin f85bea7bb4 2020: day12: refacto coordinates system 2020-12-12 17:01:58 +01:00
Antoine Martin 1f0eeb3b04 2020: day12: impl direction rotation in direction 2020-12-12 16:33:33 +01:00
Antoine Martin 442f4621fb 2020: day12: refacto turn directions 2020-12-12 16:32:20 +01:00
Antoine Martin e19ca07c6b 2020: day12: part 2 2020-12-12 15:39:09 +01:00
Antoine Martin 1be8717564 2020: day12: refacto part 1 directions iterator 2020-12-12 14:41:46 +01:00
Antoine Martin fa879c367c 2020: day12: part 1 2020-12-12 14:06:03 +01:00
Antoine Martin 5566f9f6a7 2020: day11: part 2 2020-12-11 15:09:10 +01:00
Antoine Martin 4f98921fd2 2020: day11: part 1 2020-12-11 14:38:30 +01:00
Antoine Martin b94345ea8e 2020: day10: comment typo 2020-12-10 15:20:19 +01:00
Antoine Martin e2544f5160 2020: day10: use windows for part 1 2020-12-10 15:16:41 +01:00
Antoine Martin 2381f61118 2020: day10: part 2 2020-12-10 14:51:38 +01:00
Antoine Martin 2726134d7d 2020: day10: part 1 2020-12-10 14:21:15 +01:00
Antoine Martin 35899f02f9 2020: day09: optimize using cumulated sum 2020-12-09 08:54:04 +01:00
Antoine Martin a0611f1fb3 2020: day09: part 1 and 2 2020-12-09 06:52:34 +01:00
Antoine Martin 09a9654a1b 2020: day08: part 2 2020-12-08 16:50:43 +01:00
Antoine Martin bdef7fcbe4 2020: day08: refacto before part 2 2020-12-08 16:39:31 +01:00
Antoine Martin 71a100179e 2020: day08: part 1 2020-12-08 16:03:33 +01:00
Antoine Martin 76bd7d9c54 2020: day07: add note 2020-12-07 16:14:03 +01:00
Antoine Martin 213e074e6b 2020: day07: memoize part 1 2020-12-07 15:30:14 +01:00
Antoine Martin bb5e0c9c9e 2020: day07: part 2 2020-12-07 15:00:42 +01:00
Antoine Martin eb8743c5d2 2020: day07: part 1 2020-12-07 14:41:00 +01:00
Antoine Martin 62d5e5b6c0 2020: day06: cleanup 2020-12-06 13:03:23 +01:00
Antoine Martin 60715cad1a 2020: day06: part 2 2020-12-06 12:48:22 +01:00
Antoine Martin bc0ff1b150 2020: day06: part 1 2020-12-06 12:43:48 +01:00
Antoine Martin de9b94c9a6 2020: day05: part 2 2020-12-05 10:52:30 +01:00
Antoine Martin aa93c68606 2020: day05: part 1 2020-12-05 10:36:30 +01:00
Antoine Martin 9d85ca0ee5 2020: day04: refacto number range check 2020-12-04 15:29:11 +01:00
Antoine Martin 3240ded93a 2020: day04: refacto 2020-12-04 11:17:01 +01:00