Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delete file that should never have been committed... | Andreas Grois | 2021-12-11 | 1 | -121/+0 |
| | |||||
* | Pre-Multiply conversion back to fish-space and sum-up operation. | Andreas Grois | 2021-12-11 | 1 | -108/+14 |
| | | | | This saves 72 complex constants. | ||||
* | Add day 6 solutions. Both, naive and more elaborate. | Andreas Grois | 2021-12-11 | 4 | -0/+817 |
| | | | | | | | | | | The naive implementation uses simple ring buffers and scales linearly with the number of days needed. The matrix based implementation uses matrix multiplication (implemented in a brain-dead way inline here) and has the same scaling behaviour, however implementing it showed that the matrix is correct. The closed form is, well, a closed form based on the matrix based solution, but working in the matrix' Eigenspace. | ||||
* | Clean up day 5 a bit. | Andreas Grois | 2021-12-08 | 1 | -25/+11 |
| | |||||
* | Day 5, part 2. Ugly. | Andreas Grois | 2021-12-08 | 1 | -3/+130 |
| | |||||
* | First part of day 5 | Andreas Grois | 2021-12-08 | 2 | -0/+260 |
| | |||||
* | Add simpler (but marginally slower) second solution for day4, part2 | Andreas Grois | 2021-12-07 | 1 | -2/+34 |
| | |||||
* | Day 4: Won cards now track their full score, and the round the won in. | Andreas Grois | 2021-12-07 | 1 | -30/+29 |
| | |||||
* | Part 2 of day 4. Ugly, but it works. | Andreas Grois | 2021-12-06 | 1 | -12/+96 |
| | |||||
* | Make Bingo Cards use algebraic sum | Andreas Grois | 2021-12-06 | 1 | -80/+158 |
| | |||||
* | Let's not talk about the other solutions, 'kay? | Andreas Grois | 2021-12-06 | 1 | -0/+11 |
| | |||||
* | First working (but ugly) day4, part 1 solution. | Andreas Grois | 2021-12-06 | 2 | -0/+409 |
| | | | | | | | | | Needs to be refactored. Game should be made an enum, that distinguishes between running and completed games. Completed games should only have their score as data, no more details. Methods should be limited to the respective variant. BingoGame should _not_ be made into an enum, as players might keep playing after the first one has won. | ||||
* | Get rid of stupid helper module. Was tired, wrote bad code. | Andreas Grois | 2021-12-05 | 1 | -5/+4 |
| | |||||
* | Remove dependency on unsafe dyn-clone | Andreas Grois | 2021-12-04 | 2 | -9/+20 |
| | |||||
* | Prepare day 3 part 2 for additional solvers. | Andreas Grois | 2021-12-04 | 1 | -12/+15 |
| | |||||
* | early out with try_fold and references instead of copies | Andreas Grois | 2021-12-04 | 1 | -15/+21 |
| | |||||
* | Minor | Andreas Grois | 2021-12-04 | 1 | -8/+7 |
| | |||||
* | First working day3 part 2 implementation. It sucks. | Andreas Grois | 2021-12-04 | 3 | -0/+127 |
| | |||||
* | Add infallible accumulator type day 1 solution. | Andreas Grois | 2021-12-03 | 1 | -21/+85 |
| | | | | What a waste of time... | ||||
* | Add AccumulatorType solution for day 1. Currently inefficient. | Andreas Grois | 2021-12-03 | 1 | -0/+71 |
| | |||||
* | Day 2 and some additional Day 1 solutions | Andreas Grois | 2021-12-02 | 5 | -1/+187 |
| | |||||
* | Initial | Andreas Grois | 2021-12-02 | 5 | -0/+2040 |