day12, counts but too slow
This commit is contained in:
@@ -92,3 +92,13 @@ for mask ???????#??.????####? and blocks [1 1 1 1 1 6]
|
||||
...#.#.#.#.#.######.
|
||||
...#.#.#.#.#..######
|
||||
...#.#.#.#..#.######
|
||||
* well, maybe overnight will calculate.
|
||||
but i guess i needed to check whether blocks are 'always' taking full width
|
||||
then i'll only need to calculate once, and then multiply
|
||||
** for example
|
||||
2023/12/12 20:40:41 699 : for line ??#?????#???.? ???#?????#???.????#?????#???.????#?????#???.????#?????#???.? blocks [3 1 2 1 3 1 2 1 3 1 2 1 3 1 2 1 3 1 2 1] matches 38294856
|
||||
|
||||
??#?? ???#?? ?.?
|
||||
3,1,2,1 - 10+3 = 13
|
||||
|
||||
lowest s ###.#.##.#..... - plenty of space for additional
|
||||
|
||||
Reference in New Issue
Block a user