2018 d9 p1 & p2
This commit is contained in:
parent
72eda129d2
commit
4be5463237
4 changed files with 116 additions and 4 deletions
|
@ -3,7 +3,6 @@ const input = fs.readFileSync('input.txt', 'utf-8').split('\n')[0].split(' ').ma
|
|||
|
||||
function parse(arr) {
|
||||
if (arr[0] == 0) {
|
||||
debugger;
|
||||
return ([2 + arr[1], arr.slice(2, 2 + arr[1])]);
|
||||
}
|
||||
let meta = []
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
3 2 1 1 0 0 5 0 3 1 2 3 1 0 0 0 67 67
|
||||
A - - - - - - - - - - - - - - - 67 67
|
||||
B - - - 5 C - 1 2 3 D - - -
|
||||
C - E -
|
||||
A ----------------------------- 67 67
|
||||
B ------5 C --1-2-3 D------
|
||||
C-- E--
|
Loading…
Add table
Add a link
Reference in a new issue