summaryrefslogtreecommitdiff
path: root/2017
Commit message (Collapse)AuthorAge
* Day 24tomsmeding2017-12-24
|
* Day 23tomsmeding2017-12-23
| | | | Nice one, having to actually look at the input for once. :)
* Day 22tomsmeding2017-12-22
| | | | | | Haskell version is waaaaay too slow and uses huge amounts of memory. Didn't even let it run to completion on part 2. The C version is really quick. /shrug/
* Day 21tomsmeding2017-12-21
| | | | | Please compile this, and even then running takes about a minute on my PC. This is a SLOW implementation, but it works.
* Day 20tomsmeding2017-12-20
| | | | | | This gives the right answer, but that 100 is a HIGHLY magic constant. Increase if incorrect. `prune` should work, but doesn't for some reason. This is sad but I've spent enough time on this as is.
* Day 19tomsmeding2017-12-19
|
* Day 18tomsmeding2017-12-18
| | | | | | I misread part 2 thinking that 'rcv 0' still shouldn't do anything. It should. That solved some problems. As in, let it work first try afterwards.
* Day 17tomsmeding2017-12-17
| | | | | You want to compile this for part 2. Inefficient, but works. Reusing part 1 was so inefficient that it blew up my memory.
* Day 16 btomsmeding2017-12-16
|
* Day 16 atomsmeding2017-12-16
|
* Day 15tomsmeding2017-12-15
| | | | | Generators are cool. Please compile this, otherwise it will burn your CPU.
* Day 14tomsmeding2017-12-14
| | | | | | | Honestly, I'm surprised that this is even remotely fast. The usage of plain linked-list strings should make this horrifyingly slow, but apparently, the combination of an optimising GHC and a not-too-large map (apparently) make this tractable.
* Day 13tomsmeding2017-12-13
|
* Day 12tomsmeding2017-12-12
|
* Day 11tomsmeding2017-12-11
|
* Day 10tomsmeding2017-12-10
| | | | That was a really long description. Fun hash though.
* Day 9tomsmeding2017-12-09
|
* Day 8tomsmeding2017-12-08
|
* Day 7tomsmeding2017-12-07
| | | | | | This one was already just a tiny bit harder, because I failed to notice there were multiple unbalanced nodes. Filtering out parents proved to be a success.
* Day 6tomsmeding2017-12-06
|
* Day 5tomsmeding2017-12-05
|
* Day 4tomsmeding2017-12-04
|
* Day 3tomsmeding2017-12-03
|
* Start 2017!tomsmeding2017-12-02