Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | day 4 numpy: remove reliance on hardcoded BOARD_SIZE | Tomasz Kramkowski | 2021-12-04 | 1 | -3/+3 |
| | |||||
* | day 4: numpy version | Tomasz Kramkowski | 2021-12-04 | 1 | -0/+17 |
| | |||||
* | day 4: final rewrite, best performance | Tomasz Kramkowski | 2021-12-04 | 1 | -59/+30 |
| | |||||
* | day 4: more improvements | Tomasz Kramkowski | 2021-12-04 | 1 | -1/+9 |
| | |||||
* | day 4: small performance improvement | Tomasz Kramkowski | 2021-12-04 | 1 | -5/+8 |
| | |||||
* | day 4: get rid of won set | Tomasz Kramkowski | 2021-12-04 | 1 | -3/+1 |
| | |||||
* | day 4: unpack pos | Tomasz Kramkowski | 2021-12-04 | 1 | -4/+5 |
| | |||||
* | day 4: only calculate unmarked_sum when needed | Tomasz Kramkowski | 2021-12-04 | 1 | -4/+4 |
| | |||||
* | day 4: Remove need to keep width and height | Tomasz Kramkowski | 2021-12-04 | 1 | -10/+8 |
| | |||||
* | day 4: switch to a dict of numbers to positions | Tomasz Kramkowski | 2021-12-04 | 1 | -18/+12 |
| | |||||
* | day 4: only check {col,row}_hits for hit col/row | Tomasz Kramkowski | 2021-12-04 | 1 | -4/+7 |
| | |||||
* | day 4: fix position calculation blunder | Tomasz Kramkowski | 2021-12-04 | 1 | -2/+2 |
| | |||||
* | day 4: more type annotations | Tomasz Kramkowski | 2021-12-04 | 1 | -2/+2 |
| | |||||
* | day 4: use a set of nums before list.index | Tomasz Kramkowski | 2021-12-04 | 1 | -11/+12 |
| | |||||
* | day 4: remove erroneous type | Tomasz Kramkowski | 2021-12-04 | 1 | -1/+1 |
| | |||||
* | day 4: replace loops with list.index | Tomasz Kramkowski | 2021-12-04 | 1 | -12/+12 |
| | |||||
* | day 4: a little bit cleaner | Tomasz Kramkowski | 2021-12-04 | 1 | -21/+17 |
| | |||||
* | day 4: rewrite using better state tracking | Tomasz Kramkowski | 2021-12-04 | 1 | -25/+43 |
| | |||||
* | day 4: input | Tomasz Kramkowski | 2021-12-04 | 1 | -0/+601 |
| | |||||
* | day 4: generator | Tomasz Kramkowski | 2021-12-04 | 1 | -0/+28 |
| | |||||
* | day 4: type annotations | Tomasz Kramkowski | 2021-12-04 | 1 | -4/+11 |
| | |||||
* | day 4: refactor into a function | Tomasz Kramkowski | 2021-12-04 | 1 | -23/+32 |
| | |||||
* | day 4: initial draft | Tomasz Kramkowski | 2021-12-04 | 1 | -0/+32 |
| | |||||
* | day 3: performance improvement | Tomasz Kramkowski | 2021-12-03 | 1 | -1/+2 |
| | |||||
* | Implement open_day utility function | Tomasz Kramkowski | 2021-12-03 | 4 | -4/+14 |
| | |||||
* | day 1: a little bit cleaner | Tomasz Kramkowski | 2021-12-03 | 1 | -3/+3 |
| | |||||
* | day 3: simplify most_common to always take a list | Tomasz Kramkowski | 2021-12-03 | 1 | -9/+3 |
| | |||||
* | day 3 part 1: bugfix | Tomasz Kramkowski | 2021-12-03 | 1 | -1/+1 |
| | |||||
* | day 3 part 1: remove superfluous nbits variable | Tomasz Kramkowski | 2021-12-03 | 1 | -2/+1 |
| | |||||
* | day 3: remove superfluous column func | Tomasz Kramkowski | 2021-12-03 | 1 | -12/+7 |
| | |||||
* | day 3 part 2: simplify complement | Tomasz Kramkowski | 2021-12-03 | 1 | -3/+1 |
| | |||||
* | day 3: simpler input parsing | Tomasz Kramkowski | 2021-12-03 | 1 | -1/+1 |
| | |||||
* | day3: shorter bits_to_int | Tomasz Kramkowski | 2021-12-03 | 1 | -5/+1 |
| | |||||
* | day 3: Remove Counter dependency | Tomasz Kramkowski | 2021-12-03 | 1 | -5/+6 |
| | |||||
* | day 3 part 2: minor bugfix | Tomasz Kramkowski | 2021-12-03 | 1 | -1/+1 |
| | |||||
* | day 3 | Tomasz Kramkowski | 2021-12-03 | 2 | -0/+1048 |
| | |||||
* | day 2 | Tomasz Kramkowski | 2021-12-02 | 2 | -0/+1028 |
| | |||||
* | day 1 | Tomasz Kramkowski | 2021-12-01 | 3 | -0/+2020 |