| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
You want to compile this for part 2. Inefficient, but works. Reusing
part 1 was so inefficient that it blew up my memory.
|
| |
|
| |
|
|
|
|
|
| |
Generators are cool. Please compile this, otherwise it will burn
your CPU.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
That was a really long description. Fun hash though.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|