Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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: 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 |