diff options
author | Akshay <[email protected]> | 2020-12-11 10:19:03 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2020-12-11 10:19:03 +0000 |
commit | 42523f2455fb30181efc29e3a47799283b05fa80 (patch) | |
tree | ce0687d20a0813cd8bcb2ccc46ff16a2db8b7251 /input | |
parent | edd8e1fa47c6895b28bbe61ab786ab6dc30471cd (diff) |
add initial solution to day11
Diffstat (limited to 'input')
-rw-r--r-- | input/11 | 94 | ||||
-rw-r--r-- | input/11sample | 10 | ||||
-rw-r--r-- | input/11sample2 | 9 |
3 files changed, 113 insertions, 0 deletions
diff --git a/input/11 b/input/11 new file mode 100644 index 0000000..5a109fd --- /dev/null +++ b/input/11 | |||
@@ -0,0 +1,94 @@ | |||
1 | LLLLLL.LLLLLLLLLLLLLLLL.LLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LL.L.LLLL.LLLLLLLLL.LLLLL | ||
2 | LLLLLLLL.LLL.LLLL.LLLLL.LLLLLLLL.LLLLLLLLL.LLLLLLLLLLLLLLL.LLLLLLL.LLLL.LLLLLLLLL.LLLLLLLLLL | ||
3 | LLLLLLLLLLLLLLLLL.LLLLL.L.LLLLLL..LLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLLLLLL.LLLL.LLLL.LLLLL | ||
4 | LLL.LL.LLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLL.LLLLLLL.LLLL.LLLLLLLLL.LLLLLL..LL | ||
5 | LLLLLLLLLLLL.LLLL.LLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL.LLLL.LL.LLLLLLLLL.LLLLLLLLL..LLLL | ||
6 | LLLLLLLLLLL..LLLL.LLLLL.LLLLLLLL.LLLLLLLLL.LLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLL.LLLL.LLLL.LLLLL | ||
7 | LLLLLL.LLLLL.LLLLLLLLLL.LLLLLLLL.LLLLLLLLL.LLLLL..LL..LLLL.LLLLLLLLLLLLLLLLLLLLLL.LLLL.LLLLL | ||
8 | LLLLLLLLLLLLLLLLL.LLL.L.LLLLLLLL.LLLLLLLLL.LLLL.LLLL..LLLLLLLLLLLL.LLLL.LLLLLLLLLLLLLL.LLLLL | ||
9 | .L........L.L.....L.L........LL...LLL....L.LL..LL..LL..LLLL.LL...........LL.LL..L..LL....L.L | ||
10 | LLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLL.LLLLLLLLL.LLLLL..LLLLLL.LLLL.LLLL.LLLLLLLLL.LLLLL | ||
11 | LLLLLLLLLLLL.LLLL.LLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLL.LLLL.LLLL.LLLL.LLLLL | ||
12 | LLLLLL.LLL.L..LLLLLLLLL.LLLLLLLLLLL.LLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLLL.LLL.LLLLLLLLLLLLLLL | ||
13 | LLLLLLLLLLLL.LLLL.LLLLL.LLLLLLLL.LLLLLL.LL.LLL.LLLLL.LLLLL.LLLLLLL.LLLLLLLLLLL.LL.LLLL.LLLLL | ||
14 | LLLLLL.LLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL | ||
15 | LLLLLL.LLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLL.LLLLLLL.LLLLLLLLL.LLLL.LLLLL.LLLL | ||
16 | .............LLL...LL...L...LL...L...LL..........L.LLLLLL..L.L..L..LL..LLL.......L......L... | ||
17 | LLLLLL.LLLLL.LLLL.LLLLL.LLLLLLLL.LLLLLLLL..LLLLLLLLL.LLLLLLLLL.LLL.LLLL.LLLLLLLLL.LLLL.LLLLL | ||
18 | LLLLLLLLLLLL.L.LLLLLLLL.LLLLLLLL.LLLLLLLLL.LLLLLLLLL.LLLLLLLLLLLLL.LLLL.LLLL.LLLL.LLLL.LLLL. | ||
19 | LLLLLLLLLLLL.LLLLLLLLLL.LLLLLLLLLLLLLLLLLLLL.LL.LLLL.LLLLLLLLLLLLL.LLLL.LLLLLLLLL.LLLLLLLLLL | ||
20 | LLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLL.LLLLLL.LL.LLLLLLLLL.LLLLL.LLLL.LL.LLLL.LLLLLLLLL.LLLLLLLLLL | ||
21 | LLLLLL.LLLLL.LLLL.LLLLL.LLLLLLLL.LLLL.LLLL.LLLLLLLLL.LLLLL.LLLLLLL.LLLL.LLLLLLLLL.LLLL.LLLLL | ||
22 | LL...L.L....LL..L.........L...L....LLL......L.L..L..L...L........L..LLL.....L.LL.LL..LL..L.. | ||
23 | LLLLLL.LLLLL.LLLLL.LLLL.LL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLL.LLLL.LLLL.LLLL.LLLLL | ||
24 | LLLLLLLLLLLL.LLLL.LLLLL.LLLLLLLL.LLLL.LLLL.LLLLLLLLL.LLLLL.LLLLLLLLLLLL.LLLL.LLLL.LLLL.LLLLL | ||
25 | LLLLLL.LLLLLLLLLLL.LLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLL.LLLL.LLLL.LLLLLLLLLLLLLLL | ||
26 | LLLLLL.LLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLLLLL.LL.LLLLLL.LLL.L.LLLLLLL.LLLL.LLLL.LLLL.LLLL.LLLLL | ||
27 | LLLLLL.LLLLL.LLLL.LLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLL.LL.LL.LLLLLLL.LLLL.LLLLLLLLL..LLL.LLLLL | ||
28 | LLLLLLLLLLLL.LLLL.LLLLL.LLLLLLLL.LLLLLLLLL.LLLLLLLLLLLLL.L.LLLLLLL.LLLLLLLLLLLLLL.LLLL.LLLLL | ||
29 | ...L.....L.L....L.LL...L..LLLL.L...L..L......L...L.L.L...L..L...LL.....L.L..L..L.L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LLLL.LLLLLLLLLLL.L.LLLL.LLLLLLLLL.LL.LLLLLLL | ||
52 | LLLLLL.LLLL..LLLL.LLLLL.LLLLLLLL.LLLLLLLLL.LLLLLLL.L.LLLLL..LLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLL | ||
53 | LLLLLL.LLLLL.LLLL.LLL.L.LLLLLLLL.LLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLL.LLL..LLLLLLLLLL | ||
54 | LLLLLLLLLLLL.LLLL.LL.LL.LLLLLLLLLLL.LLLL.L.LLLLLLLLL.LLLLLLLLLLLLL.LLLL.LLLL.LLLL.LLLL.LL.LL | ||
55 | LLLLLL..LLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLL.LLLL.LLLL.LLLL.LLLLL | ||
56 | .L.........L.L...L.....L..LL..LLL.L........L.LL.....L...L.....LL.....LLL....LLLL.L.L......L. | ||
57 | LLLLLLLLLLLL.LLLL.LLLLL.LLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLL.L.LL.LLLLLLLLL.LLLLLLLLLL | ||
58 | LLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL.LLLLLLLLL.LLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLLL.LLL.L | ||
59 | LLLLLL.LLLLL.LLLLLLLLLL.LLLLLLLLLLLLLLLLLL.LLLLLLLLL.LLLLLLLLLLLLL.LLLL.LLLL.LLLL.LLLLLLLLLL | ||
60 | LLLLLL.LLLLL.LLLL.LLLLL.LLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLL | ||
61 | LLLLLL.LLLLL.LLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLL.LLLL.LLLLLLLLL.LLLLLLLLLL | ||
62 | ....LL.L..L....L..L.L.....L...L..LL....LLL..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LL | ||
diff --git a/input/11sample b/input/11sample new file mode 100644 index 0000000..1beaede --- /dev/null +++ b/input/11sample | |||
@@ -0,0 +1,10 @@ | |||
1 | L.LL.LL.LL | ||
2 | LLLLLLL.LL | ||
3 | L.L.L..L.. | ||
4 | LLLL.LL.LL | ||
5 | L.LL.LL.LL | ||
6 | L.LLLLL.LL | ||
7 | ..L.L..... | ||
8 | LLLLLLLLLL | ||
9 | L.LLLLLL.L | ||
10 | L.LLLLL.LL | ||
diff --git a/input/11sample2 b/input/11sample2 new file mode 100644 index 0000000..a486e35 --- /dev/null +++ b/input/11sample2 | |||
@@ -0,0 +1,9 @@ | |||
1 | .......#. | ||
2 | ...#..... | ||
3 | .#....... | ||
4 | ......... | ||
5 | ..#L....# | ||
6 | ....#.... | ||
7 | ......... | ||
8 | #........ | ||
9 | ...#..... | ||