summaryrefslogtreecommitdiffstats
path: root/4.py
Commit message (Collapse)AuthorAgeFilesLines
* day 4: only calculate unmarked_sum when neededTomasz Kramkowski2021-12-041-4/+4
|
* day 4: Remove need to keep width and heightTomasz Kramkowski2021-12-041-10/+8
|
* day 4: switch to a dict of numbers to positionsTomasz Kramkowski2021-12-041-18/+12
|
* day 4: only check {col,row}_hits for hit col/rowTomasz Kramkowski2021-12-041-4/+7
|
* day 4: fix position calculation blunderTomasz Kramkowski2021-12-041-2/+2
|
* day 4: more type annotationsTomasz Kramkowski2021-12-041-2/+2
|
* day 4: use a set of nums before list.indexTomasz Kramkowski2021-12-041-11/+12
|
* day 4: remove erroneous typeTomasz Kramkowski2021-12-041-1/+1
|
* day 4: replace loops with list.indexTomasz Kramkowski2021-12-041-12/+12
|
* day 4: a little bit cleanerTomasz Kramkowski2021-12-041-21/+17
|
* day 4: rewrite using better state trackingTomasz Kramkowski2021-12-041-25/+43
|
* day 4: type annotationsTomasz Kramkowski2021-12-041-4/+11
|
* day 4: refactor into a functionTomasz Kramkowski2021-12-041-23/+32
|
* day 4: initial draftTomasz Kramkowski2021-12-041-0/+32