Commit Graph

82 Commits

Author SHA1 Message Date
Jonathan Chan a0df5a759c Semigroup has been added to Prelude, so implementations of Monoid were
broken. For day 20, use of the AC-Vector library has been replaced with
various implementations of typeclasses necessary to make everything
work. Extra packages used have also been added to the README.
2018-07-29 11:40:30 -07:00
Jonathan Chan 26da4fd154 Update README.md 2017-12-25 16:18:37 -08:00
Jonathan Chan a0bae97745 Day 25 - AoC 2017 all done :) 2017-12-25 16:16:27 -08:00
Jonathan Chan 42ef138744 Day 24, a day late because I'm on vacation :/ 2017-12-25 08:40:14 -08:00
Jonathan Chan adec393e53 Day 23 - off-by-one error >:[ 2017-12-24 01:14:34 -08:00
Jonathan Chan dbd0b00676 Day 23 - added implementation of part 2 in Haskell 2017-12-23 20:30:46 -08:00
Jonathan Chan cfe8ff331c Day 15 - apparently much faster with optiimizations? 2017-12-23 17:39:44 -08:00
Jonathan Chan 41d62689df Day 5 - very slight performance improvement with strictness during recursion 2017-12-23 17:32:25 -08:00
Jonathan Chan d7ec7ed65b Day 17 - very slight performance improvement by making oneth strict 2017-12-23 17:23:29 -08:00
Jonathan Chan 812cae03d3 Day 14 - performance improvements using strictness 2017-12-23 17:15:35 -08:00
Jonathan Chan 600f4df58e Day 23 - renaming 2017-12-23 16:49:33 -08:00
Jonathan Chan f4b9ddef4b Day 23, part 2 - decompiled input by hand 2017-12-23 11:44:16 -08:00
Jonathan Chan 746da09956 Day 23, part 1 2017-12-22 23:02:20 -08:00
Jonathan Chan b7e9013d09 Day 22 - minor refactoring 2017-12-22 13:06:37 -08:00
Jonathan Chan 22aad7dd66 Day 22 2017-12-22 00:37:21 -08:00
Jonathan Chan ed514f1519 Day 21 - refactoring for clarity and conciseness 2017-12-21 13:58:44 -08:00
Jonathan Chan 3d8c035561 Day 21 - will clean up code later 2017-12-21 10:35:03 -08:00
Jonathan Chan ddd8e7537d Day 20 - replaced custom Property data type with Vector.V3 to avoid having to define vector addition and scalar multiplication myself 2017-12-20 11:45:12 -08:00
Jonathan Chan c3c22a5f8f Minor refactoring - replaced all fmaps with <$> (idk why I kept using fmaps in the first place) 2017-12-19 23:40:38 -08:00
Jonathan Chan 309920939a Day 20 2017-12-19 23:13:41 -08:00
Jonathan Chan 828efdd7a8 Update README.md 2017-12-18 23:46:02 -08:00
Jonathan Chan 14fb48f3a1 Day 19 2017-12-18 23:45:10 -08:00
Jonathan Chan 87c7cf68c8 Day 18, part 1 - minor refactoring 2017-12-18 22:01:29 -08:00
Jonathan Chan c13fd64788 Day 18, part 2 - now with record syntax! 2017-12-18 21:58:37 -08:00
Jonathan Chan 022008fdd1 Day 18 2017-12-18 13:38:37 -08:00
Jonathan Chan e9a03399c6 Day 18 - beginnings of a solution, but it's late and I need to sleep 2017-12-18 02:02:47 -08:00
Jonathan Chan 1a515e1254 Day 14 - minor refactoring 2017-12-18 02:02:47 -08:00
Jonathan Chan a0cd4a375d Update README.md 2017-12-17 16:20:53 -08:00
Jonathan Chan 0a29e1e0b6 Fixed input imports due to 0 prefix for days 01 to 09. 2017-12-17 16:11:13 -08:00
Jonathan Chan 0ce9ae7665 Day 5 - added some strict evaluation for performance 2017-12-17 16:10:39 -08:00
Jonathan Chan 065421a742 Update README.md 2017-12-17 15:31:53 -08:00
Jonathan Chan ec07598f61 Day 17 - sped up to ~6s using strict recursion! 2017-12-17 15:13:38 -08:00
Jonathan Chan c585f7d7ba Day 16 - finally! 2017-12-17 11:55:59 -08:00
Jonathan Chan 45d8cfc46e Day 17 - it's a lot faster in Javascript... 2017-12-16 23:44:08 -08:00
Jonathan Chan e46dd27349 Day 16 - part 2 still slow... 2017-12-16 22:30:06 -08:00
Jonathan Chan 5969de9996 Day 15 - removed old solution in favour of faster strict solution 2017-12-16 11:14:01 -08:00
Jonathan Chan 871855ff85 Day 12 - removed old solution in favour of graph-based solution 2017-12-16 11:12:40 -08:00
Jonathan Chan 3921c021d2 Day 16 - how to do part 2 without taking 3 years �� 2017-12-16 11:09:58 -08:00
Jonathan Chan 23c6504372 Day 15 - minor changes in style 2017-12-15 09:33:25 -08:00
Jonathan Chan b12aa2915a Day 15 - refactored strict version with some fancy ~~custom operators~~ 2017-12-15 09:28:02 -08:00
Jonathan Chan 906eb9106b Day 15 - strict recursive alternate solution that takes < 1 min 2017-12-15 00:43:08 -08:00
Jonathan Chan d378e3e50e Day 15 - takes 2+ minutes to run and froze my computer twice but it works I guess... 2017-12-14 23:49:03 -08:00
Jonathan Chan 6a26332994 Day 14 - condensed some stuff, it's fine 2017-12-14 15:06:36 -08:00
Jonathan Chan ade0446c62 Day 14, both parts done 2017-12-14 10:32:13 -08:00
Jonathan Chan ac2c786b6c Day 14, part 2 - partial progress 2017-12-13 23:30:42 -08:00
Jonathan Chan 3ca34256b1 Day 14, part 1 2017-12-13 23:10:07 -08:00
Jonathan Chan c2c01450c9 Day 13 2017-12-12 22:59:14 -08:00
Jonathan Chan 492ccb0a5d Day 12 - use array constructor instead of graphFromEdges, which needs and produces some extra stuff. 2017-12-12 15:30:16 -08:00
Jonathan Chan dd002c175c Day 12 - is it cheating if I use built-in graph functions? owo 2017-12-12 10:32:51 -08:00
Jonathan Chan 2b02bd4863 Prepended single-digit files with 0s for nice ordering. 2017-12-12 09:29:13 -08:00