Implement day 14.

This commit is contained in:
2020-12-14 20:05:18 +01:00
parent fe9dfd163c
commit eff0cb9f8c
4 changed files with 751 additions and 2 deletions

4
2020/samples/14.2.txt Normal file
View File

@@ -0,0 +1,4 @@
mask = 000000000000000000000000000000X1001X
mem[42] = 100
mask = 00000000000000000000000000000000X0XX
mem[26] = 1

4
2020/samples/14.txt Normal file
View File

@@ -0,0 +1,4 @@
mask = XXXXXXXXXXXXXXXXXXXXXXXXXXXXX1XXXX0X
mem[8] = 11
mem[7] = 101
mem[8] = 0