Compare commits
No commits in common. "c24f9d6080fefdf53547129dfd7c09e73a42ecf4" and "35af3ff7a594da3611e1f36d9a9c2436da9036c5" have entirely different histories.
c24f9d6080
...
35af3ff7a5
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,11 +1,3 @@
|
||||
# ignore all without extension
|
||||
*
|
||||
!*.*
|
||||
!*/
|
||||
*.txt
|
||||
*.o
|
||||
*.class
|
||||
*.vimspector.json
|
||||
*.clangd
|
||||
*.old
|
||||
|
||||
Jonas
|
||||
Daniel
|
||||
README.md.temp
|
||||
|
2248
01/input.txt
Normal file
2248
01/input.txt
Normal file
File diff suppressed because it is too large
Load Diff
1
02/.gitignore
vendored
Normal file
1
02/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
day2
|
2500
02/scores.txt
Normal file
2500
02/scores.txt
Normal file
File diff suppressed because it is too large
Load Diff
2
03/.gitignore
vendored
Normal file
2
03/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
day3
|
||||
.clangd
|
300
03/rucksack_items.txt
Normal file
300
03/rucksack_items.txt
Normal file
@ -0,0 +1,300 @@
|
||||
BccTFfTPTsffdDDqsq
|
||||
lGGLQwFhDgWdqvhW
|
||||
wbLNjGjlwLFrpSbllrHnHHRmmJVBmZJRRVcBTc
|
||||
vvGLllBBLtllJnJFMZNjFcNG
|
||||
bdhrhTgmhRrpLJMMNJgNffnf
|
||||
qhRmTpzpzVzmTTbmVhWWWpVvDtsLVlwBVHvSsDCvvBDl
|
||||
sLlhhthVRndBZzwBdV
|
||||
PfmsPsqsGFqrSQpqBDDwpddDDM
|
||||
mFjvSFrjPSvLJWvbRssN
|
||||
gWnWQtMMDQbQvMDjjcwsvqcwsSSqZq
|
||||
HzPJTtmtZJJsqfBJ
|
||||
hCFPrNNPVNzFtQhdQMWRhhDd
|
||||
sNhmsQZdNdsztNpHGCdjcBcwCvGvCv
|
||||
brSlRfFFppHwfTpf
|
||||
MbRlRpqMnqRpMhVtsQQQVWsM
|
||||
H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qqWnPHdnhjHrBjPPd
|
||||
TtLpNHspTcLNNsLpthhsfmtjRSRlWWbzSwSRGwbWlWSSvlmS
|
||||
qBJVnZZdJVZrZndbPbWwRzSMVGbbVS
|
||||
QCdnBFBndBQDnrqrnqqNhpNNLpHthsThjGCTLL
|
||||
phCgcdrFbPLpgrbFHqQqzzlbGWGqQbHW
|
||||
SFTvTnVVMRnNTNfSHjHQMDlHwDWlQwDz
|
||||
TZmTvsFNmvTtsggpdJLBBsCs
|
||||
PBBWQjvsPsHVsNMcSzNDjcGggS
|
||||
ZtrTfTrrrrdCqpdtLNnMLLqNcgMzgHLq
|
||||
CZFmdTrJtbZrBvWHVVvHbPQW
|
||||
djcrrBljMrTdCTcdCClClMlqRvtNqqSRwFbNbwvNBNpSzq
|
||||
QhPmGJnPVGVHHNzSqpzFwztF
|
||||
nhgPFmsnLPGLhPDJhGTcDjMfrMMjMZWfjfWj
|
4
04/.gitignore
vendored
Normal file
4
04/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*.o
|
||||
.old
|
||||
day4
|
||||
.vimspector.json
|
1000
04/section-pairs.txt
Normal file
1000
04/section-pairs.txt
Normal file
File diff suppressed because it is too large
Load Diff
511
05/crates.txt
Normal file
511
05/crates.txt
Normal file
@ -0,0 +1,511 @@
|
||||
[L] [M] [M]
|
||||
[D] [R] [Z] [C] [L]
|
||||
[C] [S] [T] [G] [V] [M]
|
||||
[R] [L] [Q] [B] [B] [D] [F]
|
||||
[H] [B] [G] [D] [Q] [Z] [T] [J]
|
||||
[M] [J] [H] [M] [P] [S] [V] [L] [N]
|
||||
[P] [C] [N] [T] [S] [F] [R] [G] [Q]
|
||||
[Z] [P] [S] [F] [F] [T] [N] [P] [W]
|
||||
1 2 3 4 5 6 7 8 9
|
||||
|
||||
move 7 from 3 to 9
|
||||
move 5 from 8 to 9
|
||||
move 3 from 9 to 5
|
||||
move 6 from 9 to 2
|
||||
move 9 from 9 to 3
|
||||
move 3 from 7 to 3
|
||||
move 8 from 2 to 3
|
||||
move 9 from 3 to 1
|
||||
move 11 from 3 to 8
|
||||
move 5 from 6 to 9
|
||||
move 1 from 6 to 3
|
||||
move 1 from 2 to 7
|
||||
move 1 from 4 to 8
|
||||
move 1 from 3 to 9
|
||||
move 4 from 4 to 3
|
||||
move 6 from 8 to 3
|
||||
move 2 from 8 to 2
|
||||
move 4 from 9 to 3
|
||||
move 3 from 2 to 5
|
||||
move 2 from 5 to 4
|
||||
move 5 from 3 to 4
|
||||
move 11 from 1 to 4
|
||||
move 1 from 7 to 6
|
||||
move 1 from 3 to 5
|
||||
move 2 from 1 to 9
|
||||
move 1 from 1 to 4
|
||||
move 7 from 5 to 8
|
||||
move 21 from 4 to 6
|
||||
move 6 from 6 to 2
|
||||
move 6 from 8 to 9
|
||||
move 5 from 8 to 5
|
||||
move 2 from 2 to 7
|
||||
move 4 from 3 to 7
|
||||
move 1 from 2 to 6
|
||||
move 1 from 2 to 5
|
||||
move 2 from 2 to 7
|
||||
move 4 from 3 to 7
|
||||
move 1 from 4 to 6
|
||||
move 9 from 5 to 3
|
||||
move 7 from 3 to 4
|
||||
move 7 from 7 to 3
|
||||
move 7 from 4 to 1
|
||||
move 8 from 3 to 5
|
||||
move 1 from 3 to 5
|
||||
move 3 from 8 to 2
|
||||
move 2 from 2 to 9
|
||||
move 13 from 9 to 4
|
||||
move 5 from 5 to 3
|
||||
move 4 from 7 to 6
|
||||
move 1 from 7 to 4
|
||||
move 2 from 4 to 2
|
||||
move 3 from 3 to 4
|
||||
move 2 from 5 to 2
|
||||
move 6 from 1 to 7
|
||||
move 1 from 2 to 8
|
||||
move 1 from 3 to 8
|
||||
move 1 from 1 to 6
|
||||
move 1 from 3 to 4
|
||||
move 1 from 2 to 6
|
||||
move 24 from 6 to 1
|
||||
move 3 from 2 to 3
|
||||
move 3 from 3 to 5
|
||||
move 2 from 8 to 6
|
||||
move 2 from 5 to 4
|
||||
move 3 from 5 to 1
|
||||
move 7 from 4 to 8
|
||||
move 3 from 8 to 9
|
||||
move 2 from 9 to 5
|
||||
move 2 from 6 to 3
|
||||
move 1 from 9 to 8
|
||||
move 5 from 7 to 5
|
||||
move 2 from 3 to 1
|
||||
move 1 from 7 to 1
|
||||
move 7 from 4 to 7
|
||||
move 2 from 4 to 8
|
||||
move 6 from 8 to 6
|
||||
move 3 from 6 to 9
|
||||
move 10 from 5 to 1
|
||||
move 7 from 7 to 1
|
||||
move 1 from 4 to 9
|
||||
move 1 from 6 to 3
|
||||
move 2 from 9 to 7
|
||||
move 1 from 4 to 2
|
||||
move 1 from 9 to 5
|
||||
move 1 from 8 to 5
|
||||
move 39 from 1 to 8
|
||||
move 1 from 2 to 5
|
||||
move 2 from 6 to 9
|
||||
move 3 from 9 to 5
|
||||
move 3 from 1 to 6
|
||||
move 1 from 7 to 2
|
||||
move 1 from 3 to 2
|
||||
move 2 from 6 to 2
|
||||
move 3 from 2 to 3
|
||||
move 1 from 6 to 2
|
||||
move 1 from 1 to 8
|
||||
move 3 from 1 to 2
|
||||
move 3 from 2 to 4
|
||||
move 2 from 4 to 5
|
||||
move 2 from 3 to 8
|
||||
move 8 from 5 to 2
|
||||
move 8 from 8 to 2
|
||||
move 15 from 2 to 7
|
||||
move 1 from 1 to 5
|
||||
move 25 from 8 to 7
|
||||
move 2 from 2 to 4
|
||||
move 2 from 4 to 3
|
||||
move 1 from 8 to 4
|
||||
move 2 from 4 to 6
|
||||
move 1 from 2 to 1
|
||||
move 26 from 7 to 2
|
||||
move 15 from 2 to 1
|
||||
move 7 from 8 to 9
|
||||
move 10 from 1 to 6
|
||||
move 10 from 7 to 2
|
||||
move 1 from 8 to 1
|
||||
move 5 from 9 to 8
|
||||
move 1 from 8 to 9
|
||||
move 2 from 6 to 9
|
||||
move 3 from 7 to 1
|
||||
move 1 from 7 to 1
|
||||
move 5 from 9 to 2
|
||||
move 1 from 3 to 1
|
||||
move 9 from 6 to 3
|
||||
move 1 from 6 to 1
|
||||
move 4 from 2 to 4
|
||||
move 3 from 4 to 8
|
||||
move 1 from 4 to 1
|
||||
move 9 from 3 to 1
|
||||
move 1 from 7 to 6
|
||||
move 9 from 2 to 5
|
||||
move 14 from 1 to 6
|
||||
move 1 from 3 to 8
|
||||
move 5 from 2 to 6
|
||||
move 8 from 1 to 8
|
||||
move 6 from 6 to 8
|
||||
move 14 from 6 to 7
|
||||
move 1 from 1 to 7
|
||||
move 10 from 5 to 4
|
||||
move 11 from 8 to 5
|
||||
move 15 from 7 to 1
|
||||
move 4 from 5 to 6
|
||||
move 4 from 8 to 9
|
||||
move 6 from 5 to 3
|
||||
move 1 from 6 to 9
|
||||
move 1 from 1 to 6
|
||||
move 1 from 5 to 8
|
||||
move 2 from 6 to 2
|
||||
move 6 from 1 to 5
|
||||
move 1 from 5 to 8
|
||||
move 2 from 5 to 4
|
||||
move 9 from 2 to 9
|
||||
move 13 from 9 to 8
|
||||
move 1 from 2 to 1
|
||||
move 1 from 4 to 8
|
||||
move 3 from 3 to 1
|
||||
move 2 from 4 to 5
|
||||
move 2 from 1 to 5
|
||||
move 1 from 9 to 3
|
||||
move 17 from 8 to 1
|
||||
move 3 from 3 to 2
|
||||
move 4 from 5 to 1
|
||||
move 2 from 2 to 4
|
||||
move 1 from 6 to 1
|
||||
move 1 from 2 to 8
|
||||
move 4 from 4 to 6
|
||||
move 1 from 5 to 9
|
||||
move 5 from 6 to 8
|
||||
move 1 from 5 to 4
|
||||
move 1 from 5 to 6
|
||||
move 3 from 8 to 6
|
||||
move 8 from 4 to 5
|
||||
move 32 from 1 to 7
|
||||
move 11 from 7 to 6
|
||||
move 8 from 5 to 3
|
||||
move 3 from 8 to 7
|
||||
move 6 from 3 to 9
|
||||
move 4 from 3 to 8
|
||||
move 5 from 8 to 2
|
||||
move 1 from 8 to 5
|
||||
move 11 from 6 to 3
|
||||
move 1 from 5 to 2
|
||||
move 2 from 8 to 6
|
||||
move 12 from 7 to 8
|
||||
move 2 from 6 to 2
|
||||
move 2 from 6 to 4
|
||||
move 5 from 2 to 5
|
||||
move 8 from 7 to 2
|
||||
move 2 from 7 to 1
|
||||
move 2 from 7 to 6
|
||||
move 5 from 5 to 4
|
||||
move 5 from 4 to 7
|
||||
move 5 from 8 to 2
|
||||
move 2 from 9 to 7
|
||||
move 5 from 8 to 4
|
||||
move 2 from 7 to 3
|
||||
move 2 from 9 to 3
|
||||
move 3 from 7 to 9
|
||||
move 1 from 1 to 8
|
||||
move 2 from 6 to 1
|
||||
move 2 from 9 to 8
|
||||
move 1 from 7 to 8
|
||||
move 1 from 2 to 5
|
||||
move 1 from 7 to 9
|
||||
move 7 from 4 to 3
|
||||
move 3 from 3 to 6
|
||||
move 5 from 8 to 6
|
||||
move 3 from 9 to 5
|
||||
move 16 from 3 to 1
|
||||
move 2 from 9 to 1
|
||||
move 7 from 1 to 8
|
||||
move 1 from 1 to 2
|
||||
move 5 from 8 to 2
|
||||
move 12 from 1 to 4
|
||||
move 1 from 3 to 5
|
||||
move 1 from 2 to 9
|
||||
move 1 from 9 to 4
|
||||
move 4 from 6 to 5
|
||||
move 5 from 6 to 1
|
||||
move 1 from 6 to 5
|
||||
move 1 from 1 to 4
|
||||
move 1 from 4 to 7
|
||||
move 1 from 3 to 7
|
||||
move 9 from 4 to 6
|
||||
move 2 from 7 to 8
|
||||
move 1 from 3 to 4
|
||||
move 2 from 8 to 9
|
||||
move 4 from 8 to 4
|
||||
move 4 from 2 to 8
|
||||
move 2 from 9 to 7
|
||||
move 2 from 7 to 8
|
||||
move 10 from 2 to 4
|
||||
move 1 from 2 to 1
|
||||
move 5 from 4 to 7
|
||||
move 1 from 1 to 3
|
||||
move 3 from 8 to 7
|
||||
move 6 from 7 to 2
|
||||
move 3 from 2 to 7
|
||||
move 1 from 6 to 7
|
||||
move 5 from 5 to 8
|
||||
move 4 from 1 to 3
|
||||
move 4 from 3 to 1
|
||||
move 8 from 4 to 2
|
||||
move 1 from 3 to 2
|
||||
move 2 from 7 to 2
|
||||
move 2 from 6 to 3
|
||||
move 4 from 7 to 2
|
||||
move 4 from 5 to 7
|
||||
move 14 from 2 to 7
|
||||
move 3 from 2 to 1
|
||||
move 3 from 8 to 2
|
||||
move 1 from 5 to 7
|
||||
move 6 from 2 to 4
|
||||
move 2 from 2 to 7
|
||||
move 2 from 3 to 6
|
||||
move 6 from 8 to 2
|
||||
move 4 from 6 to 4
|
||||
move 2 from 6 to 9
|
||||
move 4 from 4 to 2
|
||||
move 2 from 4 to 8
|
||||
move 10 from 7 to 2
|
||||
move 18 from 2 to 6
|
||||
move 2 from 2 to 6
|
||||
move 2 from 9 to 2
|
||||
move 2 from 8 to 5
|
||||
move 1 from 2 to 9
|
||||
move 1 from 2 to 9
|
||||
move 1 from 5 to 7
|
||||
move 1 from 2 to 6
|
||||
move 2 from 9 to 2
|
||||
move 6 from 7 to 3
|
||||
move 7 from 6 to 8
|
||||
move 5 from 7 to 2
|
||||
move 1 from 7 to 4
|
||||
move 1 from 5 to 7
|
||||
move 4 from 8 to 7
|
||||
move 5 from 2 to 3
|
||||
move 1 from 7 to 5
|
||||
move 2 from 2 to 8
|
||||
move 9 from 4 to 3
|
||||
move 13 from 6 to 8
|
||||
move 10 from 3 to 1
|
||||
move 1 from 5 to 2
|
||||
move 3 from 6 to 8
|
||||
move 5 from 1 to 2
|
||||
move 1 from 1 to 8
|
||||
move 2 from 4 to 3
|
||||
move 17 from 8 to 6
|
||||
move 5 from 6 to 3
|
||||
move 3 from 1 to 2
|
||||
move 9 from 6 to 5
|
||||
move 2 from 6 to 8
|
||||
move 5 from 5 to 9
|
||||
move 3 from 9 to 8
|
||||
move 3 from 1 to 3
|
||||
move 3 from 7 to 5
|
||||
move 6 from 5 to 8
|
||||
move 7 from 2 to 4
|
||||
move 1 from 6 to 3
|
||||
move 1 from 1 to 5
|
||||
move 4 from 4 to 5
|
||||
move 2 from 2 to 9
|
||||
move 3 from 1 to 3
|
||||
move 4 from 5 to 8
|
||||
move 1 from 4 to 5
|
||||
move 6 from 8 to 7
|
||||
move 1 from 5 to 2
|
||||
move 4 from 9 to 2
|
||||
move 2 from 5 to 9
|
||||
move 2 from 1 to 8
|
||||
move 2 from 4 to 9
|
||||
move 6 from 7 to 5
|
||||
move 3 from 5 to 2
|
||||
move 3 from 2 to 5
|
||||
move 10 from 8 to 3
|
||||
move 2 from 8 to 5
|
||||
move 3 from 2 to 5
|
||||
move 6 from 5 to 1
|
||||
move 4 from 5 to 6
|
||||
move 1 from 7 to 5
|
||||
move 23 from 3 to 7
|
||||
move 2 from 5 to 9
|
||||
move 2 from 1 to 5
|
||||
move 2 from 6 to 3
|
||||
move 6 from 3 to 1
|
||||
move 1 from 1 to 7
|
||||
move 4 from 3 to 1
|
||||
move 1 from 8 to 5
|
||||
move 2 from 9 to 2
|
||||
move 3 from 3 to 8
|
||||
move 2 from 6 to 8
|
||||
move 12 from 1 to 3
|
||||
move 1 from 9 to 7
|
||||
move 3 from 5 to 9
|
||||
move 9 from 3 to 8
|
||||
move 1 from 1 to 7
|
||||
move 1 from 9 to 4
|
||||
move 3 from 3 to 6
|
||||
move 3 from 2 to 1
|
||||
move 3 from 8 to 6
|
||||
move 1 from 4 to 2
|
||||
move 1 from 2 to 9
|
||||
move 1 from 2 to 7
|
||||
move 20 from 7 to 5
|
||||
move 3 from 7 to 3
|
||||
move 3 from 1 to 3
|
||||
move 5 from 8 to 1
|
||||
move 5 from 1 to 5
|
||||
move 4 from 5 to 2
|
||||
move 3 from 2 to 6
|
||||
move 3 from 8 to 7
|
||||
move 1 from 2 to 6
|
||||
move 2 from 8 to 6
|
||||
move 2 from 7 to 5
|
||||
move 2 from 3 to 6
|
||||
move 12 from 5 to 1
|
||||
move 6 from 5 to 7
|
||||
move 12 from 6 to 8
|
||||
move 4 from 9 to 3
|
||||
move 4 from 5 to 8
|
||||
move 3 from 1 to 5
|
||||
move 4 from 7 to 4
|
||||
move 3 from 5 to 9
|
||||
move 7 from 1 to 6
|
||||
move 1 from 1 to 3
|
||||
move 6 from 7 to 6
|
||||
move 1 from 1 to 3
|
||||
move 10 from 3 to 6
|
||||
move 10 from 6 to 2
|
||||
move 2 from 9 to 5
|
||||
move 4 from 6 to 5
|
||||
move 9 from 6 to 1
|
||||
move 16 from 8 to 7
|
||||
move 3 from 8 to 7
|
||||
move 1 from 8 to 1
|
||||
move 7 from 2 to 1
|
||||
move 1 from 5 to 9
|
||||
move 1 from 6 to 1
|
||||
move 2 from 2 to 1
|
||||
move 3 from 1 to 4
|
||||
move 1 from 6 to 8
|
||||
move 7 from 4 to 1
|
||||
move 1 from 8 to 2
|
||||
move 22 from 1 to 8
|
||||
move 18 from 7 to 9
|
||||
move 6 from 5 to 2
|
||||
move 2 from 2 to 7
|
||||
move 2 from 1 to 5
|
||||
move 4 from 7 to 6
|
||||
move 1 from 5 to 6
|
||||
move 2 from 8 to 2
|
||||
move 3 from 2 to 6
|
||||
move 1 from 5 to 6
|
||||
move 15 from 9 to 6
|
||||
move 6 from 9 to 5
|
||||
move 1 from 9 to 8
|
||||
move 1 from 2 to 9
|
||||
move 5 from 5 to 9
|
||||
move 9 from 8 to 6
|
||||
move 3 from 2 to 7
|
||||
move 12 from 8 to 9
|
||||
move 1 from 7 to 5
|
||||
move 1 from 5 to 7
|
||||
move 3 from 7 to 1
|
||||
move 17 from 6 to 3
|
||||
move 1 from 2 to 6
|
||||
move 2 from 1 to 4
|
||||
move 16 from 6 to 4
|
||||
move 7 from 4 to 6
|
||||
move 1 from 5 to 7
|
||||
move 8 from 4 to 5
|
||||
move 9 from 9 to 8
|
||||
move 16 from 3 to 7
|
||||
move 1 from 1 to 5
|
||||
move 3 from 5 to 1
|
||||
move 5 from 6 to 2
|
||||
move 3 from 1 to 7
|
||||
move 3 from 6 to 7
|
||||
move 3 from 9 to 3
|
||||
move 5 from 8 to 5
|
||||
move 11 from 5 to 7
|
||||
move 2 from 3 to 7
|
||||
move 1 from 2 to 1
|
||||
move 1 from 3 to 6
|
||||
move 17 from 7 to 9
|
||||
move 1 from 3 to 2
|
||||
move 3 from 4 to 6
|
||||
move 1 from 1 to 2
|
||||
move 1 from 6 to 4
|
||||
move 14 from 7 to 6
|
||||
move 15 from 9 to 6
|
||||
move 4 from 8 to 7
|
||||
move 1 from 4 to 7
|
||||
move 7 from 9 to 5
|
||||
move 5 from 2 to 9
|
||||
move 7 from 5 to 1
|
||||
move 3 from 1 to 7
|
||||
move 29 from 6 to 4
|
||||
move 1 from 2 to 4
|
||||
move 18 from 4 to 2
|
||||
move 3 from 1 to 4
|
||||
move 1 from 1 to 7
|
||||
move 18 from 2 to 4
|
||||
move 3 from 6 to 5
|
||||
move 15 from 4 to 1
|
||||
move 1 from 5 to 1
|
||||
move 1 from 5 to 4
|
||||
move 9 from 4 to 1
|
||||
move 5 from 1 to 3
|
||||
move 9 from 1 to 5
|
||||
move 2 from 4 to 3
|
||||
move 5 from 5 to 6
|
||||
move 3 from 7 to 9
|
||||
move 7 from 7 to 5
|
||||
move 6 from 4 to 6
|
||||
move 2 from 3 to 7
|
||||
move 6 from 5 to 8
|
||||
move 2 from 8 to 4
|
||||
move 1 from 8 to 9
|
||||
move 9 from 6 to 2
|
||||
move 3 from 9 to 3
|
||||
move 1 from 2 to 1
|
||||
move 6 from 7 to 4
|
||||
move 2 from 2 to 8
|
||||
move 3 from 9 to 5
|
||||
move 5 from 4 to 8
|
||||
move 1 from 6 to 9
|
||||
move 1 from 3 to 1
|
||||
move 1 from 3 to 4
|
||||
move 1 from 6 to 5
|
||||
move 1 from 9 to 3
|
||||
move 10 from 8 to 7
|
||||
move 3 from 9 to 2
|
||||
move 7 from 2 to 4
|
||||
move 6 from 5 to 7
|
||||
move 4 from 5 to 8
|
||||
move 7 from 3 to 2
|
||||
move 3 from 7 to 1
|
||||
move 9 from 1 to 5
|
||||
move 5 from 7 to 9
|
||||
move 7 from 1 to 4
|
||||
move 11 from 4 to 2
|
||||
move 4 from 8 to 3
|
||||
move 5 from 4 to 7
|
||||
move 4 from 4 to 1
|
||||
move 1 from 3 to 6
|
||||
move 12 from 7 to 4
|
||||
move 2 from 1 to 8
|
||||
move 5 from 9 to 7
|
||||
move 7 from 5 to 6
|
||||
move 1 from 1 to 4
|
||||
move 1 from 9 to 8
|
||||
move 1 from 4 to 7
|
||||
move 1 from 8 to 9
|
||||
move 5 from 7 to 9
|
||||
move 2 from 7 to 5
|
||||
move 2 from 6 to 3
|
||||
move 5 from 2 to 7
|
||||
move 1 from 7 to 8
|
||||
move 1 from 1 to 6
|
||||
move 3 from 5 to 1
|
1
06/broken-device.txt
Normal file
1
06/broken-device.txt
Normal file
@ -0,0 +1 @@
|
||||
lrgrvgvttzmtmtgglmgmccpclppvdvtvvllvggvrggbwwlzlmzzbppnvpnvppcjjzhjhthnhjnhhhndhnnnsbnnhzzvhhplplzlrzzgpzpwzpwwsvsjvjfvvphpspwswrswscwscwsscffspsbbjjcjwjrwwtgwwgswswwzbzddqnnpqnpnqppwzwszsnsjjpddhvvcbbhhpzzlpzlzppfpvvmcmvvflfttrltrlldlglbgblltqtffrtrwrzwwzmzwmwwlzzhttwzzwnnmrrcdrdjrjqjvqvvjzzgccrllhmhzzfnfwwtzwzwpwhhdjhhmzzbbvggzdzccbzbbpcpqccjbcbppsttdjdnjnppjjnmmszmzgzddtctvctcvttgtbbzqqggnmmdllvdvmvzzhfffzvfvtfvtvwwcnwnvwwbccggjcjqcqcbcrrppdqppdzpzqppttjhjdjqjppzgzjjpllwrrbttrvvzzbhzzqppndppwqppnrpnnttfwttsrrgprggmtmhmzhzczwzmwzwrwqwrrrdqrrvssnlngnppfqqgbgjjcttbgtbtmtctmcmcmgmsgsffhghqhbbvtbbtltmltlnlpnngcnggbngbnnzgzccgcpgcpcjppnnzjzdjdggzjzljjhnncgcjcscfctcvttvqtqmqjjsqjqpqfqhqmmlvvmppfrfjjngnnfllrlhhppcjcbjcctgcgtcgcvgvffqfcfpcpdpffrbrvbvnnphpqpfqqtnttmtgtlgtgzttnvvpwvwvcwcfwcwmccwlclqlflpflplwpllndlltlqtlqqmqnqmnqnvqvrrtddqndnrdnnpzprrqnnggvqvhvpvptvvvzwzrwwscsqqmcmttbgtgpptzptzzvszvzdvvtsscbbrpptssltssztszttlvlqljlgljlhhwvhwvvqhvqhqrhqqcnqccnbcbppbffzqfqsfspsqsjjrhjjchcmhmnhmmzjmjmfjmmsbsvvgcggtdgghchrrpnnrttnthtdtmmhmdmppmgpgllrwlrwlwvvlmlglppzttsvsbsnbncnjnffddzcddbzzbzgbghhhtltwtggljjggsdswwpmmfhfsfvfrrgmrgrfggvzzbnbttwqqdcdppqcqpcpqpjqpjpbbgjbgjjfwfwpfpgpzgzmzgzdzzpwzwqqjqfqllgrgjjfvvqnvncntngnhgnhgnnzvvbsbmbqmqwmqwwhbwhhsccvhcclncnqccnvnzvvdgvgnvnttmbbhccwgwttlwtwqttqcqmcqcdcmmjpmmjsjhhprrnnqddjwdjjvvhvgvssthhnfhnnntfthhtggthhbrbrjbbjfbjjrgrsrjrqqqfwflfclflnnnnvggfqgqzzbbvttfcfvcvsswvssnzndndvnvqqznnrjnnsmmptmppncpchcctwtbbgbqqjqtqsqfsfvfvnvmvzzpgzppdzdvdqdjdnjnttvvjbbzrzqrqwrqrbqrqsqpspjssnqnpqqnjndjjzmmvbbrqrccrffhwhggbttpnpphwhhmrrndrnddzqzzfbfwbwnwtwjjwjmjsjcjgcjjfcftcffvpvwwbffgzgnnlfffnddtdbdlbbcjbjmmfpfzfbbwbdwwfmfpmmfjfffvzvdvvhrvrcvcscjjpfjjnfnzzrtrpphtppzrppwhhphthltlllttghgwwvlwlflhldlzzmbzzjppnwppvlplqqbtbwwccswccqzzjhjbbhbnhnshnsslmmlqqjfjrjjmvvhpjqhzqffhsdsbwpjvgpvmbfqltrmpnwfcptpfmtjcpbzfldbhcmzchshrlbjgggrfjcqhzqqvbzsczmbgqmzqmltlrtlbnsfvmlhbbcqbbltjpdrpznrglshvgdnqwlhthghvtbffddcjwgdzfswzbppjtdhstcqqmvzmjrvfjbhmrznwqczdjjclnhbmtdvvzwttwnrlfqwpglpcppdwdcvfqpqfnmbvzvmqlmnlgnrsqdjvtsftgnlrtzsrcqhltmhzhpmzqqfqrjwhqfnqdtnshwgfhcpjrlplnqczdlntnhsczrgfhflsfbmftsbptflqbpwblrfnfzvqtpblftmscpzgdhhsbdbjhqclnptwtmhbbfglmvwnbqgvqhmmswwjpfwqjbvznmcpdzcvbzjmfqnwstvvtdnlvnpznnblfqzjjrjgnsbtmmbjzsvmgwddtnzcvhvtdrmjgtcrjzznrssscrzcfbfpgpnpppsqcqpccnbdjnwrbvhrcwgqncjrzbdhzqpfhqbnvbfrzmlfbfvtpggrtdswnvlsvpjsmfchhpbbszbnqqfrmhpqzdjhmhmnnmplbtrpgphvvqdfbcfnrfrbfbtshlmlfltjnbmggqntvhdnlvtcvlhmlrlfzfrqmlwqzrdghvdvtsqvmpdjrjclmlmgjqwzzldnzvfmwmrrnfghsvpcwjdtlnrhpjczwpgfbhpnmcbpthsndfflbjhnlwdbbmlttfqcmswvppslptgzbvfgppvpnhjccrpgrpwtngmmccjghhcwddmnglschnpjwqtrtsvggnpzvsqshfvcnhptphtlmqmpznfzwvbnhwpsfwvpflsdjcjgfzjprbbfzgdbmrjgwrgfdphghrhnpvfncrdzcwtthmqtdwlhjsdthqpzhbjpgggndtrmwvcsqhzrzwbhtqsqthvqncprvnpsrlpvlvcjrcflhbdhrfthlfnqbzbmvlvhmbjnbbjhpjwlfflfhpfwcwnnsljthvzwprqjmgpldlzjnjtjfjrgnrpzpvzfcsrprbjhwnmccwhppjrlnndjdjzqwpcwnvqwgmnwbrjqqvbplvsncnmdfrbhrrhghfllhrghzmlnltgdsqlgbvnlchgcbqlpqptdwmsjpqrprlhqmstzjfnzgbgvlfshwpcrgzcqmmfwvhwlsdvplmdgrtfrjwpfvhnjqdbwsfcqhchstlzfpdljgvcqsfcnqccnpmvsqbmwjtzwhpglhbjwzmvgqwjhvwfhnlbtsgljzmlldcpjwdcfppmnmphdmhpmdqwwtjtrdhlrjlvzgpbcgvwcmtclgpqwhtpbdtdbdscfzbrzmgjlbppcnvphphfnvzdzzlvfsvsgbgqcnlqwmtcrpwzcvnmnvtmcdsstvqpqzdpvtdsbvtwhdvgzqmzvwlspgbwmlnsrqdqnjwrllncflqsrzdqtjqvpnpjlqfwqtlqfqwlltszcwtpmjtldjgvmvptpmzqhwmlvjgnntpvcslmhlhdbjtjjnvsbnzwtdclwbzrvlqzjljtbdjvwgbwcltvnbhfvtgqrbmzbbfvldhmdvfvtlqglnblfmmpjqmzlnfjltsqdrgmlhbhngrrmhnjndggsdcfmtssmmtmzvhzrmwjsqjcvbsgqgtvdmvqlvlrvglrtlshfdmfrmljjggwjbcsztsjmjftcbbjwrmgqvssrvtgzcgthtlgsjspfmdgwptjdrbswqlpfsbtjlnhllmjpbfhgpfcprpdnqqvqdmcbqhbcqtstvnjdzwzwvhhwmcvcfbdwczpwpdhvnstjnbblbprzsccmwrzgfhmrpvzfztvsrtncdhzhptpfqtnqwvqtwdpvcqztgjgrcbdnvqftphtfbtqdhrffdrdmwsbpvhshzvjbvsrljnzddmmfgcnfdssvzdbsfwmfjsdnslbrqsqfwfqbqszjwvgcjbhrfjcnlfhzvhcbbbpmhhvjdtgrqlcchqtvnhlrgtssllvgcdjrlzlzfbrrrvwvvcgfjdlpscsqljmmwmvwnvrgdmgcbvmwmgprbfrbgptlfjbhrmczwrzwbdhdvtgvldnzfgcngdfhbgqsfzlrbwbvdflrrsrcwthjzvgmdtndgtsjtswfbdqvcjtsdvrvqpmmdlghsdbzplgpfnstplpjdvttgzmnhssftqcqjvdvvdrmltbrpsjvqwbljrqrtqldzbwzznsdstvmdzbrvvtgrrphmbrzwnjbmqvfhljcdlbzqtcbjsfqdqcr
|
1031
07/output.txt
Normal file
1031
07/output.txt
Normal file
File diff suppressed because it is too large
Load Diff
1
08/.gitignore
vendored
Normal file
1
08/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
day8
|
99
08/forest.txt
Normal file
99
08/forest.txt
Normal file
@ -0,0 +1,99 @@
|
||||
301220120123412411222431204050154502352345215611331265331250145342122214525502214010044420343123123
|
||||
212320323343022012341342154350405334001503310300211115153234405042152322215224432102400231113311111
|
||||
201121301211224101311542432232543306541420361630235333011410624063304221040115102553044222124011231
|
||||
232202332000223341510415415041456543552366532665005356434300206166046103153010034420344343011033113
|
||||
210314434121343443320133105330346640420462134535200335545300063363254665242325230054401312222330003
|
||||
230214144101224050540112215100230300363531055535606540515103053341534215435154012112140240124100110
|
||||
231101440201215435252051416446206332423151420012651331143355655244262555053300034015013244122130030
|
||||
214222212324200401052120065613545410604234254167572224245015316613164134265153313214432220442033121
|
||||
010101140402334554220203222036634231512152221455263551635633346541265223541540132045335333002223424
|
||||
141224023202512320500606623246021536434116717372527356442422357712253035560552010313145410243214244
|
||||
342313244142203024440112330041036065142245413435573537671475271244610245022435212200405455551031300
|
||||
400412431024553054563062232450106636227551743332536773246216563237746040260223025405240105550211342
|
||||
141411114240054115626641115664417124644446553167127275573572277534716362414652422624302412000344204
|
||||
304244002433112544632613515265757653216235741254644271315654143447247446415244144112322551315312440
|
||||
034412130253154014325430531636135646423361675474554354114661252723134131331331364550211025331005110
|
||||
203230120341502446443342636426563227647672423846477226654522546745461257167105415103340235011202102
|
||||
000304220335434256006236536157317262616265763646677874377378263627235146376615515544066624323231543
|
||||
101323340335206434552203561646466267426825854776848224328252384531177377727463300325223111432452044
|
||||
443203522336150155435544744243555565545237722358736446652663532873525636261412225525550006103302105
|
||||
024402111202046625261447262172117482763754324238438534828367456666385662441762475663425231012052231
|
||||
304102502005006215165124145477583756557534848357388484458683773276743654452221742726125603631535221
|
||||
102242345301310562362655166723276388782224434488345643223328875357434577377774571124062514515225323
|
||||
243240452045506406233373246572828585355877339635749687859248246824648243733613635453456402505250303
|
||||
012352100012020202464336343645745643432459668843833863555554453734885388527435724644214236030032234
|
||||
502301551613053433631262457468258867289345397685878634954795338424484872426226353756723364155214515
|
||||
423041536552451365166244244533646822743993898794997445777675763398844356245712374176524561556305525
|
||||
425254640333051274352217364867636553657469538835745385349436985448743264485283366446114460665235412
|
||||
451305136116044364536433362258776588858395555558784748933645435747556548238346672563734344020454302
|
||||
432303643553065262322344228232565576689647769594849965393545794453967722354542675575263552410143115
|
||||
134544203161553255673562273655895763938858688958546785546995776997839965834382885435545631503335420
|
||||
555120002034333741674266784562695566888447446849894657668489395353895595526886884344327466141516541
|
||||
513443021302125256763465382844658763845358758869688948575985943473999357685734374175371446220146233
|
||||
233366010551721127328385236556377437634587845849877758459689687794745477428788742731316465140405213
|
||||
553011226633221264468324542499436483854879476698495899976485685488773948962325655755266442362003543
|
||||
312310355415566137337775829643373677544476849477957567497649568966978435833576736386411214630355151
|
||||
553145403544542737764542375578459459765676558566476444687477445946459378969263463861117325515431032
|
||||
536600400372417274463258586446436786877854445766879776549484448887448579549836737426771156120411052
|
||||
030621320724121554684336878497569899885854988855858555775456559646495997979468273647347456245100543
|
||||
545015312153425765287374339999948784855487886865776557656565676778594554989747852238614427623334041
|
||||
203005461166615125245248633779856478585597855957589689986888656699549686966355478473725534436206000
|
||||
552104352652311173347625849374448596777558588767888585799589875757945995549567776384722373626201524
|
||||
103604131421156167438445367445944478744687879597557966758786897455674875666365253527343435256603601
|
||||
300251364451465528673586486838569558457965667868668568797565799949548765587445748556373652351606135
|
||||
203613231642774436372333986973765865968569869659668887695588756978695547464449478577546236167206025
|
||||
000526564661714825335338489687486957856857855999788768958878987799494866538374633368677562673506424
|
||||
515644525376577475566446984796979687487766955689666777875898796699874589553539884845683175752360631
|
||||
221333616257462253823256375979645755896686997869696867698969958844999687686476364354576477345551111
|
||||
105222627452134822874253968777797786579655789896697888689986866976775779378896326264363317162751623
|
||||
162663173774176522666878887636864568989556887778997867979686869994994668955878548843786742723736203
|
||||
532212411613465674686254989747549989687685879666668989986756655657544797785388372436622767147424660
|
||||
061430341565238668884894448998884968886585676968898898887797795594859978795536965546586321556760355
|
||||
204541545567555653452864338665675969797686696989669999697778587687445456986538478322446257552365541
|
||||
655210032533533474674648398796577485555756797879766896878759679897748887646963922274775445666332035
|
||||
053321357461466882342436934979474474786699989987686798866969688869574558588835762723624774536431166
|
||||
425041634561312425882487676489694958795969757677677787687667668745846895668784782733254653163100605
|
||||
344310214433422228424464935784566975876698858796887769889968969647689677947447477245223663363264353
|
||||
012103166457117866567539896646478766886868755577978876887556878875797456794886958725574112516550415
|
||||
413644241335211836757687384748875888457579756795867975569679769875958466759557667477876467665436364
|
||||
162433152223317868882246466489998974769885556787595776775676788845855763393365742834482216655401026
|
||||
500614243747242223556575388534395464699869895767665788787956594678957798795886862225721534637646212
|
||||
242634342176667133277463595457877478984767787799769898889775888858895875758637368336261313356414300
|
||||
223205560227474377478554997966367944497877689866899558856977656965547586747685382327221347441146226
|
||||
322455466216143484536844779897496757954488957957898966886586675678888653535576477832464231615155324
|
||||
242335461373333262738285294874587649485768768756859998965778556857697358467855263664166411126122653
|
||||
442153320312725352645222487595939346478865868447588576959689664564667987947863564283733267742015623
|
||||
314256435256635233868576887878636755678944665464484575684575697584575336547784452783535121441266154
|
||||
223210513276524633887828464489635943745697744976674678945746697677399465735288783524413443155052460
|
||||
414644344437711641625883235659985578977459597858484566679475486473855973896455735345552521314243015
|
||||
303253565166734271425285323787763975858945897789759985997698796347779944885385552472565572215360642
|
||||
554345026245552362643534848687345838937664445457956798786577433576566547626774284415241562551163504
|
||||
311535565216661455148884287865768434966933844685584479978489494757874552577566854667712125345561545
|
||||
415250611366327134655472756753545737584664446946696869669867693575365348285472261146676153654423343
|
||||
245134635554051122723564642433875435935979656663668837797668649877868784674366711177437413214613242
|
||||
550305433351016326452653747274646969964344344955633437473798845985852738832263655166223231013250350
|
||||
412424612302616576262646757668355434555989468964573354645759674644744382678666232347542030341661053
|
||||
242250452046136264165613485835446658933483399657658764964566438484376638324734716771116242431415343
|
||||
215351034333540431527612622887846533476959369569746679337488463558585763464275533366551552100042055
|
||||
435431152542541137277441543722662552265876998963863345653536848472468446825623116641634431511341415
|
||||
512310146424650645726632222733373758536677539594973344357244627586436388227315222723436261011354444
|
||||
415342343465665344577661441528646685383427283566766246753572785343237264536223626355350051400140114
|
||||
241050242115325145031526345615255855442353746482385388835847843772354575412177127416310323254520420
|
||||
020220124435411053633257436463635336832525634734264453487345354485334651724244114546332526244014343
|
||||
233144204333151340325721264561431226263673564625645257644453365842865136737725510345534241014450104
|
||||
214445105522101254615065716656473235246624687543865265286684547535626265545173540645424255433043332
|
||||
131141005503150612140634466735217613138345322342853334247734784516716553114671206254014513103241500
|
||||
120132523034235121510330646154142646314331362452535865757484632521317751341716362446121030453315304
|
||||
222332342104255141541516053742767376342422671752664587373155226235757465552063266050454310555023234
|
||||
130022331402524533534126360254271165656147565354323324127344143267561232655640150546201542425232423
|
||||
041244331331204304551224525323327646371114744734661445454712776141442460245244062010323033300223040
|
||||
314114011311133543043561246666161424252355464267753775116255217554737010132161163160333313105310431
|
||||
241411310012501313224133414363533552666555416611756217364167127132203511115524044001111200411313443
|
||||
214302012402443103350331642331524446633763473467453377136566732405003511614151100044055214231314311
|
||||
010202242015444310420164245052526156300412151526245266534126364115514456545426434302254122342301411
|
||||
011423214303322230335200221004343440314264121472144246346134341155334411654112313203311044301330344
|
||||
301224314420311045034445523602316023152013003056146213152100641500545520504415031222210033304041411
|
||||
220214142234023331303304444234306015540260423514533053233166213614214141332141350123320443304043021
|
||||
012034313114122310325254321150626562505200402655111220563433533535445241355033442330140121212324203
|
||||
132300421231302002541021054032536231430015654305433356436004156146330254151224453535144411201021112
|
||||
011201113143220302144232532235500205436316601263264003140631445266055502252414045114101420043032302
|
2000
09/ropes.txt
Normal file
2000
09/ropes.txt
Normal file
File diff suppressed because it is too large
Load Diff
1
10/.gitignore
vendored
Normal file
1
10/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
Main.class
|
139
10/asm.txt
Normal file
139
10/asm.txt
Normal file
@ -0,0 +1,139 @@
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx 6
|
||||
addx -1
|
||||
noop
|
||||
addx 5
|
||||
noop
|
||||
noop
|
||||
addx -12
|
||||
addx 19
|
||||
addx -1
|
||||
noop
|
||||
addx 4
|
||||
addx -11
|
||||
addx 16
|
||||
noop
|
||||
noop
|
||||
addx 5
|
||||
addx 3
|
||||
addx -2
|
||||
addx 4
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx -37
|
||||
noop
|
||||
addx 3
|
||||
addx 2
|
||||
addx 5
|
||||
addx 2
|
||||
addx 10
|
||||
addx -9
|
||||
noop
|
||||
addx 1
|
||||
addx 4
|
||||
addx 2
|
||||
noop
|
||||
addx 3
|
||||
addx 2
|
||||
addx 5
|
||||
addx 2
|
||||
addx 3
|
||||
addx -2
|
||||
addx 2
|
||||
addx 5
|
||||
addx -40
|
||||
addx 25
|
||||
addx -22
|
||||
addx 2
|
||||
addx 5
|
||||
addx 2
|
||||
addx 3
|
||||
addx -2
|
||||
noop
|
||||
addx 23
|
||||
addx -18
|
||||
addx 2
|
||||
noop
|
||||
noop
|
||||
addx 7
|
||||
noop
|
||||
noop
|
||||
addx 5
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx 1
|
||||
addx 2
|
||||
addx 5
|
||||
addx -40
|
||||
addx 3
|
||||
addx 8
|
||||
addx -4
|
||||
addx 1
|
||||
addx 4
|
||||
noop
|
||||
noop
|
||||
noop
|
||||
addx -8
|
||||
noop
|
||||
addx 16
|
||||
addx 2
|
||||
addx 4
|
||||
addx 1
|
||||
noop
|
||||
addx -17
|
||||
addx 18
|
||||
addx 2
|
||||
addx 5
|
||||
addx 2
|
||||
addx 1
|
||||
addx -11
|
||||
addx -27
|
||||
addx 17
|
||||
addx -10
|
||||
addx 3
|
||||
addx -2
|
||||
addx 2
|
||||
addx 7
|
||||
noop
|
||||
addx -2
|
||||
noop
|
||||
addx 3
|
||||
addx 2
|
||||
noop
|
||||
addx 3
|
||||
addx 2
|
||||
noop
|
||||
addx 3
|
||||
addx 2
|
||||
addx 5
|
||||
addx 2
|
||||
addx -5
|
||||
addx -2
|
||||
addx -30
|
||||
addx 14
|
||||
addx -7
|
||||
addx 22
|
||||
addx -21
|
||||
addx 2
|
||||
addx 6
|
||||
addx 2
|
||||
addx -1
|
||||
noop
|
||||
addx 8
|
||||
addx -3
|
||||
noop
|
||||
addx 5
|
||||
addx 1
|
||||
addx 4
|
||||
noop
|
||||
addx 3
|
||||
addx -2
|
||||
addx 2
|
||||
addx -11
|
||||
noop
|
||||
noop
|
||||
noop
|
55
11/monkey-stuff.txt
Normal file
55
11/monkey-stuff.txt
Normal file
@ -0,0 +1,55 @@
|
||||
Monkey 0:
|
||||
Starting items: 62, 92, 50, 63, 62, 93, 73, 50
|
||||
Operation: new = old * 7
|
||||
Test: divisible by 2
|
||||
If true: throw to monkey 7
|
||||
If false: throw to monkey 1
|
||||
|
||||
Monkey 1:
|
||||
Starting items: 51, 97, 74, 84, 99
|
||||
Operation: new = old + 3
|
||||
Test: divisible by 7
|
||||
If true: throw to monkey 2
|
||||
If false: throw to monkey 4
|
||||
|
||||
Monkey 2:
|
||||
Starting items: 98, 86, 62, 76, 51, 81, 95
|
||||
Operation: new = old + 4
|
||||
Test: divisible by 13
|
||||
If true: throw to monkey 5
|
||||
If false: throw to monkey 4
|
||||
|
||||
Monkey 3:
|
||||
Starting items: 53, 95, 50, 85, 83, 72
|
||||
Operation: new = old + 5
|
||||
Test: divisible by 19
|
||||
If true: throw to monkey 6
|
||||
If false: throw to monkey 0
|
||||
|
||||
Monkey 4:
|
||||
Starting items: 59, 60, 63, 71
|
||||
Operation: new = old * 5
|
||||
Test: divisible by 11
|
||||
If true: throw to monkey 5
|
||||
If false: throw to monkey 3
|
||||
|
||||
Monkey 5:
|
||||
Starting items: 92, 65
|
||||
Operation: new = old * old
|
||||
Test: divisible by 5
|
||||
If true: throw to monkey 6
|
||||
If false: throw to monkey 3
|
||||
|
||||
Monkey 6:
|
||||
Starting items: 78
|
||||
Operation: new = old + 8
|
||||
Test: divisible by 3
|
||||
If true: throw to monkey 0
|
||||
If false: throw to monkey 7
|
||||
|
||||
Monkey 7:
|
||||
Starting items: 84, 93, 54
|
||||
Operation: new = old + 1
|
||||
Test: divisible by 17
|
||||
If true: throw to monkey 2
|
||||
If false: throw to monkey 1
|
1
12/.gitignore
vendored
Normal file
1
12/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
day12
|
41
12/hill.txt
Normal file
41
12/hill.txt
Normal file
@ -0,0 +1,41 @@
|
||||
abccccaaaaaaacccaaaaaaaccccccccccccccccccccccccccccccccccaaaa
|
||||
abcccccaaaaaacccaaaaaaaaaaccccccccccccccccccccccccccccccaaaaa
|
||||
abccaaaaaaaaccaaaaaaaaaaaaaccccccccccccccccccccccccccccaaaaaa
|
||||
abccaaaaaaaaaaaaaaaaaaaaaaacccccccccaaaccccacccccccccccaaacaa
|
||||
abaccaaaaaaaaaaaaaaaaaacacacccccccccaaacccaaaccccccccccccccaa
|
||||
abaccccaaaaaaaaaaaaaaaacccccccccccccaaaaaaaaaccccccccccccccaa
|
||||
abaccccaacccccccccaaaaaacccccccccccccaaaaaaaacccccccccccccccc
|
||||
abcccccaaaacccccccaaaaaaccccccccijjjjjjaaaaaccccccaaccaaccccc
|
||||
abccccccaaaaacccccaaaacccccccciiijjjjjjjjjkkkkkkccaaaaaaccccc
|
||||
abcccccaaaaacccccccccccccccccciiiirrrjjjjjkkkkkkkkaaaaaaccccc
|
||||
abcccccaaaaaccccccccccccccccciiiirrrrrrjjjkkkkkkkkkaaaaaccccc
|
||||
abaaccacaaaaacccccccccccccccciiiqrrrrrrrrrrssssskkkkaaaaacccc
|
||||
abaaaaacaaccccccccccccccccccciiiqqrtuurrrrrsssssskklaaaaacccc
|
||||
abaaaaacccccccccccaaccccccccciiqqqttuuuurrssusssslllaaccccccc
|
||||
abaaaaaccccccccaaaaccccccccciiiqqqttuuuuuuuuuuusslllaaccccccc
|
||||
abaaaaaacccccccaaaaaaccccccciiiqqqttxxxuuuuuuuusslllccccccccc
|
||||
abaaaaaaccccaaccaaaaacccccchhiiqqtttxxxxuyyyyvvsslllccccccccc
|
||||
abaaacacccccaacaaaaaccccccchhhqqqqttxxxxxyyyyvvsslllccccccccc
|
||||
abaaacccccccaaaaaaaacccccchhhqqqqtttxxxxxyyyvvssqlllccccccccc
|
||||
abacccccaaaaaaaaaaccaaacchhhpqqqtttxxxxxyyyyvvqqqlllccccccccc
|
||||
SbaaacaaaaaaaaaaaacaaaaahhhhppttttxxEzzzzyyvvvqqqqlllcccccccc
|
||||
abaaaaaaacaaaaaacccaaaaahhhppptttxxxxxyyyyyyyvvqqqlllcccccccc
|
||||
abaaaaaaccaaaaaaaccaaaaahhhppptttxxxxywyyyyyyvvvqqqmmcccccccc
|
||||
abaaaaaaacaaaaaaacccaaaahhhpppsssxxwwwyyyyyyvvvvqqqmmmccccccc
|
||||
abaaaaaaaaaaaaaaacccaacahhhpppssssssswyyywwvvvvvqqqmmmccccccc
|
||||
abaaaaaaaacacaaaacccccccgggppppsssssswwywwwwvvvqqqqmmmccccccc
|
||||
abcaaacaaaccccaaaccccccccgggppppppssswwwwwrrrrrqqqmmmmccccccc
|
||||
abcaaacccccccccccccccccccgggggpppoosswwwwwrrrrrqqmmmmddcccccc
|
||||
abccaacccccccccccccccccccccgggggoooosswwwrrrnnnmmmmmddddccccc
|
||||
abccccccccccccccccccccccccccgggggooossrrrrrnnnnnmmmddddaccccc
|
||||
abaccccaacccccccccccccccccccccgggfoossrrrrnnnnndddddddaaacccc
|
||||
abaccaaaaaaccccccccccccccccccccgffooorrrrnnnneeddddddaaaacccc
|
||||
abaccaaaaaacccccccccccccccccccccfffooooonnnneeeddddaaaacccccc
|
||||
abacccaaaaaccccccccaaccaaaccccccffffoooonnneeeeccaaaaaacccccc
|
||||
abcccaaaaacccccccccaaccaaaaccccccffffoooneeeeeaccccccaacccccc
|
||||
abaccaaaaaccccccccaaaacaaaaccccccafffffeeeeeaaacccccccccccccc
|
||||
abacccccccccccccccaaaacaaacccccccccffffeeeecccccccccccccccaac
|
||||
abaaaacccccccaaaaaaaaaaaaaacccccccccfffeeeccccccccccccccccaaa
|
||||
abaaaacccccccaaaaaaaaaaaaaaccccccccccccaacccccccccccccccccaaa
|
||||
abaacccccccccaaaaaaaaaaaaaaccccccccccccaacccccccccccccccaaaaa
|
||||
abaaaccccccccccaaaaaaaaccccccccccccccccccccccccccccccccaaaaaa
|
449
13/signal.txt
Normal file
449
13/signal.txt
Normal file
@ -0,0 +1,449 @@
|
||||
[[[],2,9,4],[],[[[],[0]],[[7,0,10,8],[10,5,5,4,1],0,6]],[]]
|
||||
[[[8],[3,6,9,[10,4,2],[4,5]],[10,[3],[7,10,7,2],[0,5]],2]]
|
||||
|
||||
[[[3,6],[]],[[7,[7,9,1,8,2],[],[1],3],[[8,0,10],[5],0,8],[[6,4,5],[1,3,1,10,8],[],[8]],9,9]]
|
||||
[[[[5,0],[4,7,3],[4,5],[0,2]],9,0]]
|
||||
|
||||
[]
|
||||
[[6,[4,8,0,[1,9]]],[[0,4,[8,10,8],[1,4,9,2,4]]]]
|
||||
|
||||
[[8,4,8,8,1],[2,[1,8,[5,3,8]],[[3,2,2,9,8]]],[[[2,5,0,7],[6,8,8,8,2],1,7],2,8,[6,5,0]],[10],[[[2,6],[2],[0,7,8]],10]]
|
||||
[[],[6,10,[8]],[7,[[0,3,8],[7,0],9,[8,3],[2,7]],5,6],[2,[[7],[7,1,8,6]],0]]
|
||||
|
||||
[[[[4,3,7],0],2,[3]],[2,0,[10,2,[4],1,0],9],[[10,9,[7]],0,4,[6],[10,[6,10,7,0,9],9]],[10,[8,[2],10,[7,10,9,6],6],5]]
|
||||
[[],[[9,10,1,[9]]],[9,[],[[],[2,1,8,4],[3,4,1,3]],0]]
|
||||
|
||||
[[[[1,5,4],[0,9,6,4,9],[6,3,6,2],[1,4,10,4],5],0,[5]],[8]]
|
||||
[[[[6,4,9,3,1],[6,10,5,1,3],[3,10,8,4],3],7,3,10,3],[[5,[],0,6,4],8,[[7,8,5]],[6,[9,10,4,2,9],[6,7,4,6]]],[9,5,[[2,0,2,4,10],[2],4],[],9],[]]
|
||||
|
||||
[[5,[[2],9],[5,7,[6,2,9,6],2]],[[2,5],4],[7,[2,4,[10],10],[0,2,9],[[],[6,4,10,8,0]],[]],[]]
|
||||
[[[10,4,7,4],3],[[[2,10,3,10],2,3,0],[[8,9,5,10,8]]],[[]],[3,[1,[5,5,9,2],[1],[],[5,3,4]],3,2],[3,4]]
|
||||
|
||||
[[[[6],9],5,[1,1,[5,7,2,9,9],5,0],[3,[],[3,6],8]],[[4,[8,7],3],[[9],[4,5,3]]],[3,[],4,9,[3,[5,3,7]]]]
|
||||
[[3,3,0]]
|
||||
|
||||
[[],[1],[]]
|
||||
[[[[0,3],[7,0,5,1]],[],[2,[4,3,3,6,4]]],[[],[10,[]],[5,[2,7,7,10],[9,8,2,10,4]]],[[],[[1],[4,4,6],10,[4]],[[1,1,7,7],[6,9],0]],[[3,[3,5,4],[8,2,4,0,3],5,[3,10]],10,[]],[[3],2,[],[[6,1,2,3],[7,7,9,1],7]]]
|
||||
|
||||
[[]]
|
||||
[[3,8,5],[0,[[5,4,7,0,5],4]],[7,[[8,10,6,9,8],3]]]
|
||||
|
||||
[[],[6,4,3,[8,[],1,[9,9,7],1],[[],[2,0,3],[4,5,5,8],5,[]]],[[2,2,2,[4,4,7]],8,[[4,9,4,10],8]]]
|
||||
[[[[2,3,0],[],[7],[3,8,5],2],[5,[]],8,[]],[],[],[7],[2]]
|
||||
|
||||
[[[[2,4,5,2,9],9,7,[8,1,5,7,6]],[[10,9,9]],9],[[[],2,10],[9,4]],[8,9],[[[8,7,5]],1,[[1,7],[],[9,2,4],0],4],[3,3,5,4]]
|
||||
[[7,[8,[9,1,10,1],[8,7]],7,5],[[10,[4],[7,0]],0,5],[4,7,5],[],[9,[[9],[9,1]],5]]
|
||||
|
||||
[[4,9,[8],[9,7,[0,7],0,0]]]
|
||||
[[4,0,0,2],[3,[[1,6],[5,4,7,1,9],9,5],[[9,1,3],5],8],[[[8,5,8],[],[10,10,0,9,0],[2,0,10]],[[6,3,8]],10,[[5,1,9,10],6]],[[]],[1,2,[[6,4,9,0,2]],8]]
|
||||
|
||||
[[1,8,4],[6,[[2],4,3],10,1,[10,[8,8,7,3],1,2,7]],[8]]
|
||||
[[[0]]]
|
||||
|
||||
[[5,[4,[3,7,6],[2,2,6,7]],[[5,8],3,2,[10,1,1,10,2],[3,2]],10],[8,[[],2,[]],[5,6,[3],0],1]]
|
||||
[[9,8,[],[[4,3,8,7,2],[0,5,7,2],8,1],7],[[[10,6],3]]]
|
||||
|
||||
[[[2]],[[[7,2,8,9],[],2,[]],[6,9,[1,5,5,5],8],6],[[4,3,6,7],[[6,4,8],[0,6,2],6],[4,6],[[5,2,3,4,8]]]]
|
||||
[[[6],7,8,[7,[4],[1,10,0,3],[6]],[[8,10,9,1,2],[9,9,0,2],[2,7,0,2,9],8]],[[[8],0],9,5,[],7]]
|
||||
|
||||
[[8],[[1,[],0,[10,3,0,8,6]],9,2,[8,[4,3,4],3]],[]]
|
||||
[[],[[[10,9,7],1,[6,3,7],[]],1,[[4,9,8,3,1],[9,8],[0,10,4,3],[0,0]],[6]],[[[5,7,10],10,[5,9,0,6],1,[0,0]],[10,[],[2,1,3]],[9,[5,1],[6,6,9],8]],[0,[],[2,[6,10,2,0],[3,2,9],[8,10,10],4]],[]]
|
||||
|
||||
[[[[6,1,1,9,0],[2]],6,5,0,[[],[3,4]]],[[],[10,9,1],[2]],[2,[[8,5],5,[]],[1,8,[4],[0,4,4,4],[0,6]],6]]
|
||||
[[7,[9],[0,[4,0],3]],[[[],6,[6]],5,[[1,5,5],4,2],5,[0,1,[]]],[]]
|
||||
|
||||
[[[4],[5],[9,8,9,1],1],[[[8,2,5]],[10,[9,0,0,6],6,[2,6,2],[4,8]],4,10],[],[[9,3,8,[10,10],4],[]]]
|
||||
[[5,2]]
|
||||
|
||||
[[10],[0],[4,7,[[4,8],[2,4,8],[4,10,2,5,7],10],2,7],[[[7,0,0,1,0],[0,6,8,6,9],4,6]],[[[],7,[1,6],7],[[10,10,4,2]],[0,3,10,[6]]]]
|
||||
[[[[3],10,[7,3,2],[6,8,5,9]],[4,4,0,[8,6,9,2]]],[]]
|
||||
|
||||
[[[2,[7,6],5,1,4]],[[8,0,10],[[2,8,6],9,[7],6,4]],[5]]
|
||||
[[4,4,[3,6,5,[10,8,9,5,4]]]]
|
||||
|
||||
[[],[[9],3,[[6,10,10]],0,4],[[[10,10,10,8,1]],[9,[]]],[4,[8,5,[0],0,[7,6,6,3]],3,[7,0,5,7]]]
|
||||
[[[5,2,8,[1,6,10],5],[],[]],[[[]],[[0,1],5,0],[[8,2,9,1],[2,8,7],5],[[],9,0,6,0],4],[[[2]],[],[0,[3],[],5,6],0,[[7,3,0],1,[0,2,9,10]]]]
|
||||
|
||||
[[9],[[[],0,9,0,2],5],[0,[10],[10,[8,0,5],5,9]]]
|
||||
[[],[[8],[],2,3],[1,[[10,2,7],6,[3,0,9,6],9,[9,5]],2,6,[3,5,[9,9,8]]],[6,[4,[8,7],4,[2,1,0]],[[10,1,7],10,[1,9,1,0]],9],[0]]
|
||||
|
||||
[[2],[5,[1,[2,8,9],4,[4,1,7,8]],[],5],[9,9,[3,[10,2,9,0,4]],1],[5,[],8,[9,3,5,2]],[[[5],4,[0],[5],3],3,6]]
|
||||
[[2,2,6],[5,6,[2,10]]]
|
||||
|
||||
[[[[6,10,5,10,8],[5,8]]],[[[6,4,8,4],[8,7,8],[8,9],3],5,2],[9,[5,9,[2,3]],[[],[7,1,4,4],[],10]],[]]
|
||||
[[6,5,[4,[8],[6,2],2,3],[2,1],10],[8,[8,[],[4,2,7,4]],[9,[5,2,2,0,9],[],[],[8,5]]],[[[4,3,9,6],[5,6,1],4,4,[6,8,1]],[[],9],[[2],6,2]],[7],[[[5,5,4]],3]]
|
||||
|
||||
[[[[5],[0]],[5,10,[],5,4],[1,[1,9,2],8,[2]],8],[[[2,0,10,0]],5,3],[[[]],[5,1],[[0,2,4],5,10,[7,4]],0,[[5,8,2],[7,9,0],6]],[8,[[1,8],8,[3,0,4,10]],9]]
|
||||
[[],[],[[[5,8],8,[2,8,6,9]]],[9,9],[8,[9,[1,4,4,7,3],8],9,4]]
|
||||
|
||||
[[10,[9,8],[[],[5,8,10,10,7],[7],4,[]],[0,3,[8,3,2],5]],[4,[0,[]]],[[[4]],[7,2,0,[3,0,7,6],3],[1,[0,9,7]],[5],[[0],3,2,8,2]],[6,[[6,10,6,0],[0],4,1,[5,8,5,3,10]]]]
|
||||
[[7,4,[[7,9],[6,1,7,9],[10],[9,4]],[[6,4],8,[9,3,8,10,1],[]],2]]
|
||||
|
||||
[[[[1,0],[8,1,2,4,0]],2,[],5],[0,[]],[9,[],5]]
|
||||
[[[[10,0,9],8,[4,10],[8,3,10,6],4],10],[6,[[10,10,1,7],6],6],[[[10,7],3,6,4,[1,2]],10,[[8,3],[],5,1,0],[[],[0,7,0],5]],[]]
|
||||
|
||||
[[9,3,2,[6,7,[10,5,7,3,2]],[[7,9,0,10],9,[10],[8,1,4,2]]],[10,9,8,[[9,4,10,3],2],[6]],[3,8,6,[[10,7,3,6]],[2,4,10,[3,3,0,5],[]]],[9,8,[2,9,10,[5]],[[],[3,7,10,10,9],[7,1,3,1,7],0,[]],[[2,1,10,7,9],[4],10]]]
|
||||
[[8,[[],[4,1,5,5,1]],6,9,5]]
|
||||
|
||||
[[6],[[[3,6,10,8,9],1,[10,2,4,0,7],9]],[5,[6,1],[0],4],[],[[],[],[6,9,9],[],[]]]
|
||||
[[[7,[3,0,4,1],[2,9,10,6,4]]]]
|
||||
|
||||
[[],[[],9,3,9]]
|
||||
[[[],[[8],[7,7,6,3],[],[9,7]],10,10]]
|
||||
|
||||
[[[10,6]],[8,9,[7,9,6,[4],6],9,[[8],[7,1],[7,7],0]],[[10,6,[6]],7,7]]
|
||||
[[[[10,5,8],[8,1]],[[4,0,0,1,10],0,[8,10,2,9],[0,1,2,0],[4,0]],[8,[],0,2,[4,3,8,7,2]],[0,[0,3,6]],4],[[7,[3,8]],10,[]],[8]]
|
||||
|
||||
[[[4,9,[3,5],9],10,7,5],[6,[5,[7,9,4,4,8],[0,3,3,5],10,6],[[]]]]
|
||||
[[9,[],[[6,3,2],9,3,5],7,[]]]
|
||||
|
||||
[[[10,[],[5],[3],0],[6,[5,4,5,8,7]],5,2,5],[[5,8],[[]],0],[9,3,7,5],[7,[8,5,9],[3],[[],6,[4,5,8]],9],[[9],10,[[5,9,4,5],[]],2]]
|
||||
[[10],[5,10],[[9,9,[8]]],[[10,[],[5,10,6,2],[9],[]],[[0,8,10,10],[0,5,1,5,0],[2,2,5,1,9],9]],[3,7,[[3]],[[3,4,10,8],[2,3,10],3,[8]]]]
|
||||
|
||||
[[3],[2,[],[[4,8,10],[7],3,[0,5,4]],3,3],[],[[],[[9,7,7]],[[8]]],[8,[],[[8],3],[]]]
|
||||
[[9,4,4],[[[1],9,6,[4,5]],[6,2,0],5],[[3,[6],9],7,[[],[6,0,2,4],[]],8,[6,[0,1],7,5]]]
|
||||
|
||||
[[10,[],[[1],[8]],[],[[],5,[8],[3,8],[1]]],[[[],[4,8],[9,6,7,1]],3,5],[[[2,9,3,10,0],0,6,[3,7,5],[9,7]],10],[[8,0,[8,7]],6,5,5]]
|
||||
[[6,8]]
|
||||
|
||||
[[],[],[]]
|
||||
[[[2,5,7],9,0,[1,10]],[8,[0,[2],5,[],[5,6]],6],[[[7,7],1,[6],[1,9],3]]]
|
||||
|
||||
[[2,4,[[4,3,4,10],[7],6],[9]],[3,[],[[8,9,10,9],6,[2,3,2,4,10],6],[[4,8,4,8],2,6]],[3,[2],[7],4],[[2,[2,1],[9,3],[9,4,5]],[[1],[5,5,10]]],[1,[]]]
|
||||
[[[7,[3,6,6,6,2],[7,0,3,0],7,5]],[[4]],[],[3,9,1,4,[[1,7,0,10,8],0,5,[0]]],[[5,9,[4,5,5,10],[0,7]],0]]
|
||||
|
||||
[[[2,8,2,8]],[]]
|
||||
[[],[6,9,[[8,7,7],[0],[4],[]],0,[[],[7,1,9,2],[2,5,9,4],2,[2]]]]
|
||||
|
||||
[[7,3,[[8,9,3,7],[7,10,6,2],[4,0,7,0,8],[0]]],[[[],[4,3],8]],[]]
|
||||
[[[10,[9,9,4]],6],[4,[4,[],5,[3,1,8,6],0]],[5],[]]
|
||||
|
||||
[[[],[4,0,[0,0,6,9],[8,0,3,7],[3]],9]]
|
||||
[[],[],[[[7,3,7,7],[5,8,3],6],10,4,[2,4]],[4,1,6,[]],[]]
|
||||
|
||||
[[[[],4,4],4,6,9,[0,[1,10]]],[],[5],[6,[[8]],5],[[2,[6,3,1,10],[]],0,[[],[1,6,2,10,6],[8,10,6,2,1],1]]]
|
||||
[[[[0,9,8,3],1,0,5,[9,0]],[[5,8,3,4,9],[4,1,2,9,4],1,[],5]],[[[10,10,1,6],[5,10,3]],[[7,7,8,8,7],0,0,10]]]
|
||||
|
||||
[[2,[[8,7,0,1,6],10,9],5],[]]
|
||||
[[[[3,9,9,2,4]],8,[],4,[[8,8,4],[],4,6,[5,6]]],[[[],0,7,3,[3,0,4,9,0]],[[4,5,6,7,0],5,0]],[2,[[0,1,5,6],[3,2,0,6]],[[6,7,1],4,[2,2],[4,10,9]],[9,2,[6]],[[7,7,9],1]],[[],[1,10,[7,9,2],2,10],2,[[]],[2,2,2,1,8]]]
|
||||
|
||||
[[[7,8],[2,[7],[2,3,0]],1,[5,[6],5,[4,1,5,9]],[]],[0],[[[7,5,0],3,[6],8]],[6]]
|
||||
[[9,[[4,8],[1,4,8]],6],[[8,[3,6,2,2],[],[8,4,3],8],8,[[5,0],[],[4]],2,0],[[[7,6,1,6],[2,10,1,5,1],3]],[[[10,0,0],[8,1,4,3],[2,0,4],7,1],[8,9,[8,4,2,0,9]]],[[8,1],[[],[7,9,6],6,[10,0,8]]]]
|
||||
|
||||
[[[8],1,2,[0,[4,4,8,7],[6,5,3]]],[],[[[5,7,10],4],[[10,10,4,6,5],0,[]],5,[[10,8],9,2],9]]
|
||||
[[],[],[[1],3,[[3,8,10],[9],4,[],[7,6]]],[[[7,5,4,7,5],[7,6]],[9],[[4,0],6,[2,0,5,6,7]],[[],9,[7,4,5,0,6]],[[8,0,2],[1,3,3,6]]]]
|
||||
|
||||
[[6,7,4,8],[9],[8,[[3,6,6,5]]]]
|
||||
[[6,4,[[],10,2,[1,1],[7,2,2]]],[10,[10,[5,10,9,7,7]],7,[9,[0],9,10],10]]
|
||||
|
||||
[[[0,[7,8,3]],7],[0,6,7,[8,[5,1],[7,6]]],[5],[[[],10],6]]
|
||||
[[8,[7,[8,9],8,9],3,[8,[2],6],2],[[[8,5],8,[0,4,10,4,5],[5],[4,4,2,6]],[],1,4,[10,4,[1,9,10,2,8],3,7]],[[[],4,[9,1,0,10,8],[6],[10,4,3,10,9]],4]]
|
||||
|
||||
[[6],[],[6,9,[[6],5],[[5,8]],[[9,9,3,4,3],[0,5,6],[1,1,9]]]]
|
||||
[[6,5,10,[[]],1]]
|
||||
|
||||
[[0,[0],[10,5,2,[9,0,10,4,0],5]]]
|
||||
[[7,2,3,[[1,10,7,1]]],[6,9,[[9,0,10,4,6],7,[1,8,6]],[[7,3]],3]]
|
||||
|
||||
[[0,1,3,1],[3,6,[[0,1],9,[0,6,8,3,0],[1,10,10]]],[[],5,9],[4,[],[[8,6],[8,5,6,6,0],[2,6,5]],4],[10,[]]]
|
||||
[[],[8,[10]],[[10,[3,0,1,4],1],6,[[5,8,6],[10,10,6,4],[9,7,7]],[]],[]]
|
||||
|
||||
[[0,3,[],[9,[7,2,4,9],[6,7],9,5],[]],[],[[7,[],[9,7,9,0,4],5],[6,[9,4,5,10,5],[1,4],[3,7,10,3],8],2],[]]
|
||||
[[8,6]]
|
||||
|
||||
[[[[8,4,8,10,8],[7],[4,6,0],2,[1,1]],9,[[],0]]]
|
||||
[[2,[]]]
|
||||
|
||||
[[[],2,10,2],[[[4,9],[4,8,9,9],[8,6,8],[1,1]],[7,3,[],[],2],[9,[6]],1],[[],[1,5,2,7,4]],[[[2],9,[7,7,2],8,6]]]
|
||||
[[],[9,9,[[],8],[[1,8],[10],9,[4,7,10,0],9],2],[]]
|
||||
|
||||
[[[1,6,[9,3],9],[6,[4,7,9,2],[10],[4,10,8,1],[]]],[[[9,8],[4,9,1],9,[6,0,6,10]],[8,1,[8,3],2,6],9],[],[[6,[4,4,6,10],5,7,[2,0,8]],[[]],6]]
|
||||
[[8,8,[1,6,[9,4,8,3,7],[7,6]]],[9,7,4,[]]]
|
||||
|
||||
[[2],[],[],[[[7,4,1,0,1],[0,9]],6,[[8,10,0,4,8]]]]
|
||||
[[1,9,9],[1,[[2],[0,5,9],2],[[9,7,7],6,6]],[[1,6,8,[]],[[0,1,5],3],5,[[9,2],2,6,5],5],[5,8,[4,4,[],[9]],1,7]]
|
||||
|
||||
[[10,7,6],[[[],[4],4,5,10],1]]
|
||||
[[],[5],[0,[[5,3],1,10,[2,0],[8,1]],[1],4],[5,4,10,10,[[9,2,1,3],[2,10,10],[8,1,9],[3],[]]],[[0,2,[2,4,1],2,1],4,5,[[10],[7,5],[],1]]]
|
||||
|
||||
[[7,[[8],2,[0,9,5,5,2],[5,3,4,2]]],[[[3,5,7,3,2],[5,10],8,9],4,7,8]]
|
||||
[[],[3,0,1,9,10]]
|
||||
|
||||
[8,10,7,6,5]
|
||||
[8,10,7,6]
|
||||
|
||||
[[[[6,5,4],[4,0,8,7,0],[1,9],5,[1,9,1,1,0]],[[4,6,6,2]],[8,[4,7],[8,2,7,9],[5],[]],1,[10,6,[1,5,8]]],[7,7,[8,[9],[2],4,[7,4,4,3,9]],[[],[3,7,3,1],3,[4,7]],2]]
|
||||
[[[9,5,[7],8],[[10,7,4,4],10,[3],8],10],[[[5,1,5,6],[2,2,5,4,5],0],[9,[10,9],8,8,7],3,[9],[[]]],[[8,5,8,6],4,[],[[]],9]]
|
||||
|
||||
[[[0,7,7,5,9],[[],8,[2,2,7,3,7],6,[10,6]],[3,7,[8]]],[],[[],1,3,0,3],[]]
|
||||
[[3]]
|
||||
|
||||
[[[[],[]],2,[8]],[],[0,[[0,3,3,7],1,[7,6,10]],7,1,[[3,0,8]]],[[[]],[[4,6,2,9,3]]],[[],[6,[2,8,6],4,7,[3,1,5,7,1]],1]]
|
||||
[[5,2,8,[[9,6,0]],10],[[[],[4,0,7,9],6,[9,0,7,5,9],[7,5,3]]],[5],[[1,10,7,[2,2]],[9,3]]]
|
||||
|
||||
[[[],[[],[0,6]],10,7,[7,[],[2,5,2,10],[6,1],[2,0]]],[],[[2]]]
|
||||
[[6,[[10,6],4,3,[6,10]],[[7,6,9,10]],[7],10],[[5]],[[],[0,[8,3],5,[]],[[2]],0,[[2,8,3,7]]]]
|
||||
|
||||
[[4],[2,[3,[10],[6,4,1,0],[],[1,9,9,2]],10],[3],[1,4,8],[7]]
|
||||
[[],[6,[],3,5]]
|
||||
|
||||
[[],[5,[[3,1]],2,[],[[6,7,0,10],[7,8,6,4]]],[[[7,7,9,2],3,[1,1]],2,[10,[9,2,3],0],0,[[2],[10]]],[4,[[]],[4,6],[5,7],[3,[]]],[5,2]]
|
||||
[[8,[[],[9,2,8],[2,8,10,0],3,[10,10]],7],[[8],5,2,[10,1,[9,1],[4,0,0],2]],[9,2]]
|
||||
|
||||
[[[[],[10,2]],9,7,[6,[9,6,8],8]]]
|
||||
[[[],0,10,0],[[[]]],[],[],[6,[],8,[],8]]
|
||||
|
||||
[[[[4,8,6],9,[7,8],2,[1,3]],1,7,[[0]],8],[[0,[0,9],[9,1,2,8,3]],[]],[8,3,[7,[]],[2,[3,7,8],10],4],[10,[[9,2]],[[],4,10,9]],[[7,[9,5],[8,10],[8,2,5,6]],[9,[4,1,10,8],[3,7],2,9],[6],1]]
|
||||
[[],[],[],[]]
|
||||
|
||||
[[8,1],[],[6,[[2,7,5,9],[4],7],[5,3,[1,7,1,2],3]]]
|
||||
[[2,5,7,[0,[7,4,0]]],[],[1,[7,3],9,9],[]]
|
||||
|
||||
[[4,[],5,[[4,2,8],[7,2,8,9],[10,4,2,0],6,2]],[0,[[6],[7,0,6,7],8],[2,[2]],[],9]]
|
||||
[[1,[7,[2,0,7],8]],[8],[],[[[],0,6,[7,7,5,7],[6,7]],10],[0,[3,[8]],[3,[6],[9],[6],[4,5,0,1,1]],7]]
|
||||
|
||||
[[[[],[2,8],[8],[1,6,3]],[6,[4,9,10,1],0],[[3,4,3],7,[9],[1,1,10,7]],3],[[[7,5,7,1],[7,5],6,5,[6,5,7,4,4]],4,2],[],[6,[],10]]
|
||||
[[5,[[1,4,1,6,9]],2],[[[],8],3,[[10,0,10]]],[[[4,7],4],4,[[7,3,2],[]]],[3]]
|
||||
|
||||
[[1],[],[],[2,[[7,6],10,3,2],3,[[3,0,5,6],[1,8,9],[3,8,7]]]]
|
||||
[[2,[[6,10,6,7,8],[9,10,2,4,8],6],7],[[1]]]
|
||||
|
||||
[[],[3,[6,[],7,9,[1]]]]
|
||||
[[[],5,7,[7,[10]],[8,10,7]],[[8],[6,[7,2,4,9]],[0,[10,1,8],8],[7,[10,0,8],[5,9,4],[],[5,1,1,7]]],[[[8],4,[],[]],1,3,8]]
|
||||
|
||||
[[[7,[8,1,6,9],4],8,[[4,1,9,3,7],[9,7,8,4,10],8],8]]
|
||||
[[[3]],[9,1,4,[4,[7,1,1,6,0],4,[]]],[4,9,[6,[2,9,8],[4],6,[5,10,9,0]],1]]
|
||||
|
||||
[[10,[],[[4]]],[[[4,4,3,2,9],6],1],[[6,[3],[3,6,2,5],1,[]],[[],[5,4,3,8],[2],8,[6]],8,8],[8,8]]
|
||||
[[],[1,[[2,0,10,0,8],[2,10,7,9,9],4,[7,9],[2,6,6,7]]]]
|
||||
|
||||
[[4,[5],[],[[],[],0,1,10],2],[[0,7,[3],[7,4,7,4]],8],[[[6],[3,1],5,[],[1,1,7,0]],5],[[2,[10,3,4],[0,9,5,1,1],0,4],9,[5,[2,5,6,0],[2,5,3,3],4,7],3,[0,[10]]]]
|
||||
[[3,1,8,7,[7,0]],[[[5,4,4,10],2,[3,1,6,4]],[],10,9],[6,9,[4,[3,9]]]]
|
||||
|
||||
[[],[[[]],[3,[8,4,4,4],3,2,[9,1,5,2]],10,[6,9,2,7,8],1]]
|
||||
[[10,[],2,0,7],[[8],4,[[1,5,3,1],1,[0,10],3,2],[[10,5,7,7],[7,8,8,6],[3,5,2,5],[8,0,7,2]]],[[],[4,[3,6,5,2]],[2,[8]]],[0,[10,1,3,[6],9],[6,3,[4,5,6],7],[1,[7,0,3,2],6,0]]]
|
||||
|
||||
[[[[]],4,[[2,4,3,1,7],[4,5,8,0,0],[1,1,6,2,4]]],[[5,8,[7,2],4,[4,10,0,2,8]],9],[6,[]]]
|
||||
[[[6,[]],3,[0,[3,10,1,6],7,2]],[0]]
|
||||
|
||||
[[7]]
|
||||
[[8,[[5],2,[2,10,9],[7,8,8]]]]
|
||||
|
||||
[[[[9,9,0],8,[6,2,7,5,7]],3],[],[]]
|
||||
[[5,6,[9,2,[10,0,2],[5,9,6,10],[5,1,9,9,2]]],[[0,[4],[6,3]],2,[10],[2],7],[[],8,[],[2]],[0,[],[10]]]
|
||||
|
||||
[[7,3],[[10,10,[],8,3],0,1,[],8],[1],[[5]],[9,9,8,8,[[10,10,3,10,0],9,6]]]
|
||||
[[[],[],2]]
|
||||
|
||||
[[[8,10,0],1,[[4,6],[7,10,1],2,[8,2,8],[4,1,7]],7]]
|
||||
[[[2,[]],4,5,[4,[2],[]],5],[7,[9,[3,8]],[[10,7,3],8,10,4,8],[[4,10,8,4],7,0],[7,[3,9,9,5,10]]],[6],[0,[[0,8,7,1],7],4,[5]],[[[4,0]],[[10,2,8,5,10],5,4,[],2],1]]
|
||||
|
||||
[[0,6,[[],9,6],3,[]],[[2,10,10,[3,9],8],[[1,8],6],3,2],[3,4,[9,[9],[3,6]],[5,2,[6],[10,10],[4,4,3,8,0]]]]
|
||||
[[[4],[[9,1,4,4],[],1,[6,10,7],[]]],[[],[8,5],[3,[3,0,0,9,1],[4,7,4,2,0]]],[[],[10,0,[6],[6,3,7],[5,0,10]]]]
|
||||
|
||||
[[6,8],[3,9,[],[[1],[8],0,0]]]
|
||||
[[7],[],[8,[5,[3,5,6,4],[7,4],4,[10,9,2,1,6]],[9,[2,4],[7,8]]],[[[2,0,2],6,[5],[3,3,9,9],[4,8,8,0,7]],[6,[]],[],[10,[]]]]
|
||||
|
||||
[[[[2,0,3],10],[7,[],[9,8,7,4,8],7,[4,10,6,10]],8],[7,9,[6,[],[]],2],[[5,1,[8],[10,8,10]],[10],[4,[],[1],6],[1,[],[1,9],[4]],3],[[[7,1,7,9,6]],[],2,[]],[[4],[[4,0,1,1,1],[5,9,10,7],0,[1]],[2,0]]]
|
||||
[[],[[],[[1,0,7,8,2],[4,6,8,10],[6],7,5]]]
|
||||
|
||||
[[5],[[[1,8,7,5,1],2,7],8],[9,[[10]],[[7,1,0,6,1],[0],[6,9,2,6],[8],5],[5,9,9,[8,5,3,8],[]],2],[1,[5]],[[3,[8,9,8,6],1],[[],[1,8],[10,7,0,8],[5,9,7,8,8],[8,8,2,5,8]],[]]]
|
||||
[[[9,[4,6,0,10],[7],[1,4,1],[10,3]],[[10,10,7]],0],[[6,[0,8,3,1],[0,3],4,5],[4,0,[9,0,1],[0,4,9],7],[[8]],1,[]],[[[],3,2,[]],[9,[6,9,8,8]],5],[7,0,3,8,4],[10]]
|
||||
|
||||
[[10,[8]],[6,0,[[7],2,0,1]],[[3,[1],[1,3],[1],[6]],8,[[6,8,4]]]]
|
||||
[[[9,[]],6,5,[9,0,[4]],[[1,4,1,8,10],9]],[[6,5,[8,1,7,3,0],[8,3],[]],1],[[[10,4,4],7,[4,8,2,10],[9,10]],1,4,5]]
|
||||
|
||||
[[[[1,10,0,4,0],2],4,4,6,10],[[3],[0,[6],[0,5,2,1,5],6,[8,1,2,0,1]],[],[6],4],[[[]],[],[4],[9,[3],9],[9,6]],[1,4,6],[0]]
|
||||
[[[7,[2,5],[6,6,7],[9,9],[7,0,9]],0,6,[],[]],[[5,[1,7,10,0],[8,5],[2,5,6,4],7],8],[[[1,2,5,2,6],5],[[]],9,7],[[9,[2,3,9],9,[],[7,0,8,3,5]],[7,[3,2],[]],1,9,[]]]
|
||||
|
||||
[[2,1],[5,[8,[]]],[]]
|
||||
[[0,2,2,[[4,9,8,10,0],3,5,7,[8,8,1]],[[3,7,8,1],[2,2,10,0,0],[4,5,3],[],6]],[5,[3],1,3],[[8,3,[9,9],[9,0],1],[5]],[[[4,9],1,[5,7,10],[8,7,4,2,2],2],[2,0,[6,1],9],4]]
|
||||
|
||||
[[2,[3,8,[8],[10]],[[]]],[6]]
|
||||
[[7,[0]],[[7,[2,0],4,4]],[]]
|
||||
|
||||
[[[[10,9],[3],[7,10,3]]],[]]
|
||||
[[[1,4,3,1,[]],[]],[]]
|
||||
|
||||
[[],[[[],6,0,[3,4,4,2,10],[2,2,7,8]],[[4,8,3,4,9],0],[],[]],[]]
|
||||
[[3],[[6,2,[2]],3,4,7],[[2,[],[5,9,10],[3],[8]],[[4,2,0],8],4,10,[2]]]
|
||||
|
||||
[[9,[[7,8,10,9],3,[3],[3,8,3,1,8]]],[[],4,[]]]
|
||||
[[5,6,8,[]],[[8],[],4,9]]
|
||||
|
||||
[[[],[3]],[9],[],[[5],[],[2,8,10,[7,7,6,2],0],[[],[4,9],[3]]],[[[2,2,5]]]]
|
||||
[[],[[],[5,[4,3,6,7],9,2],[[4,1,8,10,5],6,7]],[[[0],7],[[6,9,2,6,5],7]],[[[0,10,3],[5],7,10],9,8,[[],4,0,[7,2,3]]]]
|
||||
|
||||
[[3,4,0,[7,7]],[[[2,9],10,9,[2,10,7,0],[7,2,1]],10,0,[5,[],[7],[1,9,2]],[1,3,[],4]]]
|
||||
[[[3,5,6,[0,6,5]],[[],[],[2],1]],[5,[],[4,0,4,[]]],[4],[[[3,7,4,8,7],[0],[1,9,1],[7,9,8,0,6],4]],[[[7,10,5],[5,5,6],0,7,[9]]]]
|
||||
|
||||
[[[[2,9,7,8,4],2],[8,2,[3],[5,5]],9,[[2],[7,8,9],4,6,[]]],[[],7,[[8,10,2],0],[[4,10,5,7],3,6,[2,6,3,4]],[5]],[10,10,[0,[4,7],[2,1,6,3]]],[9,[4]],[]]
|
||||
[[[3]],[7,[9,[],7,[8,3,1,1]],7]]
|
||||
|
||||
[[10,[[0,1,4],8],[4],[],9],[5,[7,3,[10,8,4],9],[9,[4,3,8,3],2,[6,6,5,9,0],10],10,[[],[6,3,0,8,7],0,5]],[4,10,[1,[10,3],1,8]],[4,[[],[1,0,8,8,9],3,7],9,[[10,7,1,1],[],[8,2,6],5,[]]]]
|
||||
[[[5,[3,0,3,2],4],[1,[],7,[],[1]],[[10,10,4,0,2],9,[9,3,9,7,5],[4,2]],[7,1,[5,7,8],6,10]],[[[7,2],[9,3,0,6]],[[9,10],[],[10,7],[6,4,7,5]],1,4,[]],[[[7,6,3],5,[0,2]]],[[5,8,3],2,6,[]],[[[10],[],[],8,0],[],[8,6,[7,5,3],[2]],3,[[7,10],5,3]]]
|
||||
|
||||
[[[[8,6,2,3],9]],[[1,7,1,5,[6,1,1,2]],[],[[4,1,1,9,9],[0,2,5,0,7]],9],[1,[[10,10],6,4,0,0],1,[8],[10,0,9,5,[4,7,3,5]]],[10,[[0,4,8,3,5]]]]
|
||||
[[0,[[5,6,6,7]],[6,3,[6],7,[3,0]],[8]],[2,10,9,5,10]]
|
||||
|
||||
[[5,1],[7,[2,10,3,5,[10,4,6]]]]
|
||||
[[7,7,9,1,9],[]]
|
||||
|
||||
[[[],[5,1,[],6,[4,2,2,6,6]],10,[[],[5,8,5],0,[3,2,0,7,8]]],[[[8,10,3,7]],[[2,1,6,1,9]]],[2,7,6,0,[[4,6],10,[3,2,7],0,[]]],[10,[[],3,[9,10]],9,5,[[]]],[[[],[10]],7,6,[[5,0,1,1,5],[]],3]]
|
||||
[[5],[6,[8,[10],4],[8,1],[[10],10,[7]],1]]
|
||||
|
||||
[[2,[7,[],[],6],[[],3,[]]]]
|
||||
[[],[],[[9,[3,10,0],0,[8]]],[8,[[],5,0,[4,6,5,2,5],8]],[[7],[3],[[9,5],[7,6,7]]]]
|
||||
|
||||
[[4,2,8],[[[],0,9],2,6,3],[],[[[2,3],[1,0,0,8],1,6],7,6]]
|
||||
[[[[3],10,2,8]],[6,3,[4,0,[7,7,2,9,9],[],5],[[0],3,6]],[8,[[6,7,10],[0,4],[2]],4,0,[]],[[9,[7,3],[0,0,5],4,4]],[1]]
|
||||
|
||||
[[],[1],[1,[[10,9,2,0],[6,5,7]]],[10]]
|
||||
[[[5,[3,6],4,[]],8,2,10,[[7,0,0,7],7]]]
|
||||
|
||||
[[[],[[],8,1],[1],8],[],[3],[1,10],[3,[],[[4,0,10,8],2,3,[5]]]]
|
||||
[[[[3,9,8]]],[[[0],9,[3,9,6,10],3]]]
|
||||
|
||||
[[7,9,9,[],8],[[1,4]],[[1,[9,2,6,3],[1,4,6,0,2],4,[7,0]],9,[[3,2,1,9],[4,10,10],[7,7,5],[10,4,9,3,8],3],[[7,1,7,0,3],[10,2,7,0],5,[10,4,5]],[1,[8,3,2,0,0],7]],[2,[]],[]]
|
||||
[[[[5,5,1,8,5],[2,6,0],[3]],[1,3,[4,5,2,1],6],[[7,4,8,5],10,[10,3]],0]]
|
||||
|
||||
[[[4,8],0,2,[[3]]],[[4,4,8],9,10],[3,3,4,[[],7],[[6]]]]
|
||||
[[8,[],[4,5,0,[1,5,5,6,6],[3,5,9,1,6]]],[[],6,8],[[2,9,[6,1,2,1,1]],[]],[9,6,3,1,2]]
|
||||
|
||||
[[],[[[5,9,1,1,3],7,[10,0,5,7,5],[8,8]],4,7,[[2,10,8,4],[9,5,9,6],[]],8],[8,[[1,5,5,9]]],[5,6]]
|
||||
[[7,0],[[[5],[],7]],[5],[10],[6,0]]
|
||||
|
||||
[[],[]]
|
||||
[[[],[],[7,4,7,[6,6,1]],[3,9,8,0,[5,2,3]],3],[[[1],1,7],[6,2,3],[1,[6,8,3,1,9],[]],[3,7,7,5,[2,2,3,5,9]],[4,5]]]
|
||||
|
||||
[[4,[[8,6,3,10,0],2]],[9,[5,10,9,[3,1,0,8],3],1,8],[]]
|
||||
[[],[],[9,[[2,4,7,0],8,[],7,2],4,5,1]]
|
||||
|
||||
[[2,[7,[3,8],[7,2,3],7,[7,6,7,4]]],[0],[6,[7,[10,10,5],8],[7,[10,7,6],[9],3,9],10],[[[10,7],[2]],[6,[7,5,8],1,6,[10,0]]],[[],[1],[],[10,[10,3,4,8],6,[7,0,3]]]]
|
||||
[[[[6,2,1]],2,1],[],[[1,[],0],0],[[8,[3,0,4,4],[7,7,10,9,1],2,[9]]]]
|
||||
|
||||
[[3],[],[],[2,0,1],[10]]
|
||||
[[2,[10,[],[1,0,5,4],[],1]],[4,[2]],[[4,2,4],4,[2],7],[[],[[1,4,7,10,6],[3]],[],1,[2,6,6]]]
|
||||
|
||||
[[],[],[],[0,[[2,0],[2,6,10,0],5,[0,3,7,6,4]],[10,7],3,5],[2,2,[2,1,[5,2,2,8]]]]
|
||||
[[[5],7,[5,[9,7,9],1]],[3]]
|
||||
|
||||
[[[5,[5,8,0,2]],[10,6],1,6,[7,2,[],3,8]]]
|
||||
[[[7,5,3,6],[6,[3],4,[]],[[3],[],[5,5],[0]],[[10,0,3,8,7],[5,3,6],[8,4,5],8,4]],[[7,7],[10,[10,7,6],[9,7,5,5],[4],9],0,[2],[]],[[],4,4,[1,0,[],0],[[5,4],0,[0],8,1]],[8,[4,[7,0]],[8,10,0,7],[[6,6],10,[8,1],4]]]
|
||||
|
||||
[[],[[[],3,8],[4,8,9,[3]]],[],[2,1,10,[],[5]]]
|
||||
[[[[3],1,[9,5],5,7],9,2],[2],[[0]],[],[[[7],10,9,[9,6,2]],[[10,1],8]]]
|
||||
|
||||
[[],[],[[10],[[],[4],[0,2,1,4],[8,7,4,3],6],[9,[2]],[]],[[[10,5,3,1,9],0],[2,1,[7,7,8,9,1],5,[7,3,1,9]]]]
|
||||
[[10,[5]],[]]
|
||||
|
||||
[[7,2,[[],[2,1,0,1,9],6,[10,6,7,1]],[[],[6,6,1,2],[6],6,[8,2,2,10,8]],9],[6,[6,[3,5,0],[1,0,0,2],[5,9,8,1]]],[],[[[],8,0,[0,5,1,0,6]],[[3,5,9],8,0,0,[10,3]],[]],[8,[],[[2],10,8,[1,10,10,10]]]]
|
||||
[[1,[[8,5,10,0,3],8,8],6]]
|
||||
|
||||
[[[],[],5,9,[[],3]],[[[],[],[10,3,2,6]]],[[6]]]
|
||||
[[[[0]],1,2,[[0],[10,6,7],[8,2,9,4,9],[6],[0,7,6,6]]],[6,3,[[8,6,8,9],[8],8,9],[2]]]
|
||||
|
||||
[[6,[],5],[10],[5,3,8,[[7,1,2,1],[7,7,2],3]],[[4],[9,[5,6],10,3]]]
|
||||
[[[1,7],0]]
|
||||
|
||||
[[5,[]],[],[],[],[6,[[],0,[6,10,7,5],9],[[3],6,2,[7,8,8,1,6],7]]]
|
||||
[[[2],0,[8,[5,6,2],1,3],[[7],10,[8,8]],[[8,5,4,7],9,[7,3,2,7,0]]],[1,[[2,6]],[5,6,8,[8,1,7,0,7]]],[3,7]]
|
||||
|
||||
[[8,1],[0,5],[],[]]
|
||||
[[8,6,[5]],[],[[],4,[[9,2]],4,[[9,10],[9,7,7],[6,6,5]]],[[[9,7,9,10],3,[1,5,2,6]],0],[[[10,1,7],[5,3,0],[]],1,[8,0,[9,6,7,5,0],[],[6,1]],[[8,7,2,1],7,1,4,10],[[5,6,8,5],[8,10,7,6,9],9,1,[]]]]
|
||||
|
||||
[[[],[],7,6,3],[6,3,6,10],[[],[],[6,1,[7,9,8,2],[10]],3],[[]]]
|
||||
[[2,[9,2],[[0,0,8,5]],7]]
|
||||
|
||||
[[[7,5,2,5,3],1,[[],2,[],9],[[4,0,10,6,6],2],2],[[],[]]]
|
||||
[[4],[]]
|
||||
|
||||
[[[4,6,[7,9],9],6,[[0,10],[10,8,1],[6],[3,10,9]],3],[10,[[]]],[8,9,7]]
|
||||
[[[8,8,[9,4,4,5],[8],3]],[],[10,10,3],[[[1],[5,0,2],0],3,[[4,1]],[[4,7,5],5,[]]]]
|
||||
|
||||
[[[1,0,[],[10,2,7,5,3]],1],[[8,[7,6,3,5,6],[8,5,3,8]],9,[3,10],[1,2,[],5,1],[]],[[3,2,[],[1,4],[10]]],[]]
|
||||
[[],[[0,2,9,7],5],[9]]
|
||||
|
||||
[[5],[[]],[[[0,7,2],[5,6,6],[6,10,9,9,7],8],[],10]]
|
||||
[[[[0],[6,2,8],[1,0,8,9],[]],[9],1],[10,4],[5,7,6,1],[]]
|
||||
|
||||
[[[[6,10,7],[2],[3,0,2,9]],9,[[5,8,1,1,4],5,4,[0,2,4],[2,3,6,4]],[[10],[10,0,1]]]]
|
||||
[[[6],5],[[2,1]]]
|
||||
|
||||
[[10,[5,[1]],5],[[[1,4,6,6,7],[2,5],4,[5,3,5,3,7]]]]
|
||||
[[9,[3,[],[],[3]],7,1],[[6,9,0,2,[8,8,10]],10,8,[]],[]]
|
||||
|
||||
[[[6],[[10,9],5,[7],[7],[10,5,9]],0,[[10],[4,9],6,[0,1,4,10]],8]]
|
||||
[[0,[0],[],5],[],[[[9,8],[6,3,1,3],7,8,[]],2,[[4,0,3]],[6]],[7,[[10,2,0,1],9,2],[[9,7,0,4,10],10,[3,10],5,6]]]
|
||||
|
||||
[[0,0],[1,[],2],[6,4,5],[5]]
|
||||
[[7,[[0],5],5],[5,[[4,3,8,4,0],[8,7,0],7],[],[[],10,5]]]
|
||||
|
||||
[[],[5,2,[[5,2,4,8,5],9,6],[],[[8,5,5,4,10],8]],[[],[[1,7,4],[6,4,7],[10,1,10,7,3],[1,4,10,4],[]],[9,[5,0,10,5,9]]],[],[6,3,[10,[0,10,0,10]],2]]
|
||||
[[],[[[8,7,10],1],[[5,2,8],[8,8,10],10],[[],8,[7,10,4]]],[[],[3,10,[7,0,8,4,6],2],10,[[6,6,5]],2]]
|
||||
|
||||
[[],[1,[[],9,3,[1,2],[]],[10,1,7,[7,9,0,1,2]],3,3],[1,8,[[5,1,7]],6,[[9,1,3],[7]]],[7]]
|
||||
[[[[],5],3,[],3],[[[],5],[[2,3,0,8,5],8],[[],3],3,0],[[[9,9,2,2]],7,5,2],[2,[],[8,6,[5,1,2],[9,0,7],[10,2,0]]]]
|
||||
|
||||
[[[10,2,7]]]
|
||||
[[4,[6],[[8,1]],[]],[[3],2],[[[],[7,0],[],[9,1],[4,2]],10,5],[7],[2]]
|
||||
|
||||
[[[10,[10,3],[],4,[]],6],[[],0,[[],[8,7,8,2],3,[2,6,8,8],3],8,[[4,5,5,5,1],[1,4,6],[5,8,0],9]]]
|
||||
[[],[5,[[4,4]],[[8,3,3,9]],[]],[1,2],[5,1,[[8,9,7,0,8],[10,2,0,4],0,7],1]]
|
||||
|
||||
[[6,[[1,6,0,0],1],[8,9,5],4,0],[[[3,7,10,3]]]]
|
||||
[[7,[6,[5,0],10,8],[0,9,[7,10,5,7,4],6],[7,[8,0,0,4,3],[7,10,8]],2],[[1,1,4],[[10]]]]
|
||||
|
||||
[[[9,[6,2,5,1,1],5],6,10,9,9]]
|
||||
[[[2,7,3]]]
|
||||
|
||||
[[],[],[7],[2,[[2],[1,1,2]],4,[3,2]],[6,[10,1,9,3],9]]
|
||||
[[3,2],[],[[[],[4,6],[7,1,10,4],3,9],[8,[8],[1,7],[4,5,1,1],[]],9,0,9],[1,[[1,9],[0,4,1],[2,8],[],0],[[0,0,3],[9,8,1],[5],4]],[[4,[4,10,2],[]]]]
|
||||
|
||||
[4,6,9,10]
|
||||
[4,6,9,10,4]
|
||||
|
||||
[[],[],[2,9],[]]
|
||||
[[7,9,10],[2,[[8,2,3],[1,4,1,4,10],7],5,[[6,8,0,5,1],[8,10,9],1],2],[9],[[]]]
|
||||
|
||||
[[[[],[9],[],[7]],[0,0],5]]
|
||||
[[],[3,8,[5,5,9]],[7,1,[10,[]]],[[1,5]]]
|
||||
|
||||
[[],[9,10,10],[6,[[5,0,0],9]],[0]]
|
||||
[[[],4]]
|
||||
|
||||
[[4,10,10]]
|
||||
[[5],[9,8,10,[[2,1,8,7,4],[],7,9,[]]],[9,[],[4]],[],[[10]]]
|
||||
|
||||
[[3,3,[],0],[],[[1,7,0],[],[7,5,[7,6]],[[3],[7,8]]],[4],[7]]
|
||||
[[[6,[7,7,5,1,4],2,10]],[],[[7,10,[],5],[8],10],[4,[[5,1]],[]]]
|
||||
|
||||
[[1,2,4,10],[],[[10,[7,10,7,10],[8],6],[[0,6,7,6,1],2,8,8,7]],[],[]]
|
||||
[[9,10],[7]]
|
||||
|
||||
[[[7,6,[9,9,3,3]]]]
|
||||
[[0,3],[[],8,4],[1],[[[],8,[6,1,3,0]]],[[0,1,7,0,[6,2,8,5]],[[7,7,7],[2,7],3,10,6],0,[[9,5,2,5],6,[4]],6]]
|
||||
|
||||
[[4,6,4,10,[]],[],[]]
|
||||
[[],[[],[[3,8,7],1,[6,0,3,3],[6,9],[9,7,10,6]],10,[0,7,2]],[[[9,6,6],1,[],[6,9,4,0]]],[[[6,5,3,7,4]],[],[7],[8,8,[1,5,2,7,7]]]]
|
||||
|
||||
[[[[5,1,2,2,9]],[3,5,6,[7,10]],7,[8,[9,10,3],[3,10,4,2,1]],[[5,3,4,10,3],[10,1],7,1,[]]],[[[8,8,8],9,[],3,[2,9]],9,[5,5,[10,9,5,1,1],[],4]]]
|
||||
[[[9,10,[4],[]],[10]],[[],9,4,[[9],[1],[5,10,4],2,[0,4,7,10]]],[2,2,5,[[6,0],2,[8,7]]]]
|
||||
|
||||
[[],[],[6,9,7],[1,[[8],[],5,[3,1]],[[2,5],10,[],3]]]
|
||||
[[[5,[7,0,7,10,5],5,0],1,6],[0,8],[1,0,[[3],[9],[1,3,4,5,3],10],[],5]]
|
||||
|
||||
[[6,3,[[3,2,9,3]],[]],[[],2,5],[],[1,6,3],[9]]
|
||||
[[9]]
|
||||
|
||||
[[2,4,[6,[6],[2,8]],[[7,10,7,3]]],[9,4,[],7,2]]
|
||||
[[9],[],[8,[[5,10,6],1],7,0,2]]
|
||||
|
||||
[[1,5,[5,9,[3,0]],[9,[5,6],[8],[8,1,8,0]],10],[9,[0]]]
|
||||
[[4,5,[3,8]]]
|
||||
|
||||
[[],[[[]],[[6,5,7],2,[0,0,3,0]]]]
|
||||
[[6,[],1,2],[[[10,4,1,6,9],[8,8,1,7,8],[]],1,10,2]]
|
||||
|
||||
[[2,[10,0,1,[5,7,9,10,10],[10]]],[0,[9,0,6,6],4,0],[2,[10,[],[],1],[[2,10],[9,7],[5,4,10]],7,[[8,10,1],5,9,[8,3,2,1]]],[2,[[6,8,3]]],[0,1]]
|
||||
[[8,[4,[5,1,5]],5,5,9],[],[[4,4,[]]]]
|
3
14/.gitignore
vendored
Normal file
3
14/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
sandtest.txt
|
||||
.vimspector.json
|
||||
day14
|
130
14/i-dont-like-sand.txt
Normal file
130
14/i-dont-like-sand.txt
Normal file
@ -0,0 +1,130 @@
|
||||
522,57 -> 522,59 -> 516,59 -> 516,67 -> 531,67 -> 531,59 -> 526,59 -> 526,57
|
||||
479,105 -> 479,107 -> 472,107 -> 472,113 -> 483,113 -> 483,107 -> 482,107 -> 482,105
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
510,43 -> 515,43
|
||||
477,141 -> 477,144 -> 469,144 -> 469,148 -> 491,148 -> 491,144 -> 483,144 -> 483,141
|
||||
525,54 -> 537,54 -> 537,53
|
||||
504,47 -> 509,47
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
489,136 -> 494,136
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
479,105 -> 479,107 -> 472,107 -> 472,113 -> 483,113 -> 483,107 -> 482,107 -> 482,105
|
||||
460,93 -> 464,93
|
||||
499,32 -> 499,35 -> 498,35 -> 498,40 -> 512,40 -> 512,35 -> 505,35 -> 505,32
|
||||
481,126 -> 481,121 -> 481,126 -> 483,126 -> 483,122 -> 483,126 -> 485,126 -> 485,125 -> 485,126
|
||||
481,126 -> 481,121 -> 481,126 -> 483,126 -> 483,122 -> 483,126 -> 485,126 -> 485,125 -> 485,126
|
||||
477,141 -> 477,144 -> 469,144 -> 469,148 -> 491,148 -> 491,144 -> 483,144 -> 483,141
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
465,161 -> 465,155 -> 465,161 -> 467,161 -> 467,151 -> 467,161 -> 469,161 -> 469,151 -> 469,161
|
||||
469,91 -> 473,91
|
||||
496,15 -> 496,16 -> 510,16
|
||||
500,138 -> 505,138
|
||||
499,32 -> 499,35 -> 498,35 -> 498,40 -> 512,40 -> 512,35 -> 505,35 -> 505,32
|
||||
479,105 -> 479,107 -> 472,107 -> 472,113 -> 483,113 -> 483,107 -> 482,107 -> 482,105
|
||||
469,87 -> 473,87
|
||||
465,161 -> 465,155 -> 465,161 -> 467,161 -> 467,151 -> 467,161 -> 469,161 -> 469,151 -> 469,161
|
||||
522,49 -> 527,49
|
||||
463,91 -> 467,91
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
496,136 -> 501,136
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
472,93 -> 476,93
|
||||
481,126 -> 481,121 -> 481,126 -> 483,126 -> 483,122 -> 483,126 -> 485,126 -> 485,125 -> 485,126
|
||||
499,32 -> 499,35 -> 498,35 -> 498,40 -> 512,40 -> 512,35 -> 505,35 -> 505,32
|
||||
481,126 -> 481,121 -> 481,126 -> 483,126 -> 483,122 -> 483,126 -> 485,126 -> 485,125 -> 485,126
|
||||
477,141 -> 477,144 -> 469,144 -> 469,148 -> 491,148 -> 491,144 -> 483,144 -> 483,141
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
486,138 -> 491,138
|
||||
499,32 -> 499,35 -> 498,35 -> 498,40 -> 512,40 -> 512,35 -> 505,35 -> 505,32
|
||||
481,130 -> 481,131 -> 494,131
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
514,45 -> 519,45
|
||||
518,47 -> 523,47
|
||||
501,49 -> 506,49
|
||||
481,126 -> 481,121 -> 481,126 -> 483,126 -> 483,122 -> 483,126 -> 485,126 -> 485,125 -> 485,126
|
||||
484,100 -> 488,100
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
481,102 -> 485,102
|
||||
475,91 -> 479,91
|
||||
499,32 -> 499,35 -> 498,35 -> 498,40 -> 512,40 -> 512,35 -> 505,35 -> 505,32
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
522,57 -> 522,59 -> 516,59 -> 516,67 -> 531,67 -> 531,59 -> 526,59 -> 526,57
|
||||
478,93 -> 482,93
|
||||
492,134 -> 497,134
|
||||
465,161 -> 465,155 -> 465,161 -> 467,161 -> 467,151 -> 467,161 -> 469,161 -> 469,151 -> 469,161
|
||||
477,141 -> 477,144 -> 469,144 -> 469,148 -> 491,148 -> 491,144 -> 483,144 -> 483,141
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
472,89 -> 476,89
|
||||
479,105 -> 479,107 -> 472,107 -> 472,113 -> 483,113 -> 483,107 -> 482,107 -> 482,105
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
507,45 -> 512,45
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
481,126 -> 481,121 -> 481,126 -> 483,126 -> 483,122 -> 483,126 -> 485,126 -> 485,125 -> 485,126
|
||||
522,57 -> 522,59 -> 516,59 -> 516,67 -> 531,67 -> 531,59 -> 526,59 -> 526,57
|
||||
465,161 -> 465,155 -> 465,161 -> 467,161 -> 467,151 -> 467,161 -> 469,161 -> 469,151 -> 469,161
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
472,84 -> 482,84
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
479,105 -> 479,107 -> 472,107 -> 472,113 -> 483,113 -> 483,107 -> 482,107 -> 482,105
|
||||
477,141 -> 477,144 -> 469,144 -> 469,148 -> 491,148 -> 491,144 -> 483,144 -> 483,141
|
||||
479,105 -> 479,107 -> 472,107 -> 472,113 -> 483,113 -> 483,107 -> 482,107 -> 482,105
|
||||
479,105 -> 479,107 -> 472,107 -> 472,113 -> 483,113 -> 483,107 -> 482,107 -> 482,105
|
||||
508,49 -> 513,49
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
466,93 -> 470,93
|
||||
522,57 -> 522,59 -> 516,59 -> 516,67 -> 531,67 -> 531,59 -> 526,59 -> 526,57
|
||||
499,32 -> 499,35 -> 498,35 -> 498,40 -> 512,40 -> 512,35 -> 505,35 -> 505,32
|
||||
522,57 -> 522,59 -> 516,59 -> 516,67 -> 531,67 -> 531,59 -> 526,59 -> 526,57
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
465,161 -> 465,155 -> 465,161 -> 467,161 -> 467,151 -> 467,161 -> 469,161 -> 469,151 -> 469,161
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
511,47 -> 516,47
|
||||
493,138 -> 498,138
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
522,57 -> 522,59 -> 516,59 -> 516,67 -> 531,67 -> 531,59 -> 526,59 -> 526,57
|
||||
499,102 -> 503,102
|
||||
477,141 -> 477,144 -> 469,144 -> 469,148 -> 491,148 -> 491,144 -> 483,144 -> 483,141
|
||||
525,54 -> 537,54 -> 537,53
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
496,15 -> 496,16 -> 510,16
|
||||
487,98 -> 491,98
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
477,141 -> 477,144 -> 469,144 -> 469,148 -> 491,148 -> 491,144 -> 483,144 -> 483,141
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
490,96 -> 494,96
|
||||
496,100 -> 500,100
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
465,161 -> 465,155 -> 465,161 -> 467,161 -> 467,151 -> 467,161 -> 469,161 -> 469,151 -> 469,161
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
493,98 -> 497,98
|
||||
466,89 -> 470,89
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
481,126 -> 481,121 -> 481,126 -> 483,126 -> 483,122 -> 483,126 -> 485,126 -> 485,125 -> 485,126
|
||||
465,161 -> 465,155 -> 465,161 -> 467,161 -> 467,151 -> 467,161 -> 469,161 -> 469,151 -> 469,161
|
||||
481,130 -> 481,131 -> 494,131
|
||||
481,126 -> 481,121 -> 481,126 -> 483,126 -> 483,122 -> 483,126 -> 485,126 -> 485,125 -> 485,126
|
||||
499,32 -> 499,35 -> 498,35 -> 498,40 -> 512,40 -> 512,35 -> 505,35 -> 505,32
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
487,102 -> 491,102
|
||||
465,161 -> 465,155 -> 465,161 -> 467,161 -> 467,151 -> 467,161 -> 469,161 -> 469,151 -> 469,161
|
||||
522,57 -> 522,59 -> 516,59 -> 516,67 -> 531,67 -> 531,59 -> 526,59 -> 526,57
|
||||
493,102 -> 497,102
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
479,80 -> 479,78 -> 479,80 -> 481,80 -> 481,77 -> 481,80 -> 483,80 -> 483,77 -> 483,80 -> 485,80 -> 485,71 -> 485,80 -> 487,80 -> 487,74 -> 487,80 -> 489,80 -> 489,71 -> 489,80 -> 491,80 -> 491,75 -> 491,80
|
||||
487,29 -> 487,21 -> 487,29 -> 489,29 -> 489,22 -> 489,29 -> 491,29 -> 491,22 -> 491,29 -> 493,29 -> 493,19 -> 493,29 -> 495,29 -> 495,23 -> 495,29 -> 497,29 -> 497,27 -> 497,29 -> 499,29 -> 499,23 -> 499,29 -> 501,29 -> 501,26 -> 501,29
|
||||
515,49 -> 520,49
|
||||
490,100 -> 494,100
|
117
15/day15.c
117
15/day15.c
@ -1,117 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#define MAX_SENSORS 30
|
||||
#define MAX_X 4000000
|
||||
#define MAX_Y 4000000
|
||||
|
||||
struct Sensor {
|
||||
int x, y;
|
||||
unsigned range;
|
||||
};
|
||||
struct Beacon {
|
||||
int x, y;
|
||||
};
|
||||
struct Area {
|
||||
int left, right, top, bottom;
|
||||
};
|
||||
|
||||
unsigned distance(int x1, int y1, int x2, int y2) {
|
||||
int x_dist = abs(x1 - x2);
|
||||
int y_dist = abs(y1 - y2);
|
||||
return x_dist + y_dist;
|
||||
}
|
||||
int max(int a, int b) {
|
||||
if (a > b) { return a; }
|
||||
return b;
|
||||
}
|
||||
int min(int a, int b) {
|
||||
if (a < b) { return a; }
|
||||
return b;
|
||||
}
|
||||
|
||||
int isPositionImpossible(int x, int y, struct Beacon* beacons, struct Sensor* sensors, unsigned sensorCount, unsigned* blockingSensor) {
|
||||
for (unsigned i = 0; i < sensorCount; i++) {
|
||||
if (x == beacons[i].x && y == beacons[i].y) { continue; } // if beacon
|
||||
if (distance(x, y, sensors[i].x, sensors[i].y) <= sensors[i].range) {
|
||||
*blockingSensor = i;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, const char** argv) {
|
||||
const char* filename = NULL;
|
||||
if (argc != 2) {
|
||||
filename = "beacons.txt";
|
||||
}
|
||||
else {
|
||||
filename = argv[1];
|
||||
}
|
||||
FILE* p_file;
|
||||
p_file = fopen(filename, "r");
|
||||
if (p_file == NULL) {
|
||||
printf("Could not open file\n");
|
||||
exit(1);
|
||||
}
|
||||
struct Sensor sensors[MAX_SENSORS];
|
||||
struct Beacon beacons[MAX_SENSORS];
|
||||
unsigned sensorCount = 0;
|
||||
struct Area area;
|
||||
|
||||
char* p_linebuffer = NULL;
|
||||
size_t linebufferLength = 0;
|
||||
ssize_t lineLength = getline(&p_linebuffer, &linebufferLength, p_file);
|
||||
|
||||
while (lineLength > 0) {
|
||||
sscanf(p_linebuffer, "Sensor at x=%d, y=%d: closest beacon is at x=%d, y=%d", &sensors[sensorCount].x, &sensors[sensorCount].y, &beacons[sensorCount].x, &beacons[sensorCount].y);
|
||||
sensors[sensorCount].range = distance(sensors[sensorCount].x, sensors[sensorCount].y, beacons[sensorCount].x, beacons[sensorCount].y);
|
||||
lineLength = getline(&p_linebuffer, &linebufferLength, p_file);
|
||||
sensorCount++;
|
||||
}
|
||||
free(p_linebuffer);
|
||||
p_linebuffer = NULL;
|
||||
fclose(p_file);
|
||||
|
||||
area.left = sensors[0].x - sensors[0].range;
|
||||
area.right = sensors[0].x + sensors[0].range;
|
||||
area.top = sensors[0].y - sensors[0].range;
|
||||
area.bottom = sensors[0].y + sensors[0].range;
|
||||
printf("Sensor: x0%d, y=%d, range=%d\n", sensors[0].x, sensors[0].y, sensors[0].range);
|
||||
for (unsigned i = 1; i < sensorCount; i++) {
|
||||
area.left = min(sensors[i].x - sensors[i].range, area.left);
|
||||
area.right = max(sensors[i].x + sensors[i].range, area.right);
|
||||
area.top = min(sensors[i].y - sensors[i].range, area.top);
|
||||
area.bottom = max(sensors[i].y + sensors[i].range, area.bottom);
|
||||
printf("Sensor: x=%d, y=%d, range=%d\n", sensors[i].x, sensors[i].y, sensors[i].range);
|
||||
}
|
||||
printf("Area: l-r: %d-%d, t-b: %d-%d\n", area.left, area.right, area.top, area.bottom);
|
||||
int no_beacons_for_sure_mate = 0;
|
||||
/* int y = 10; */
|
||||
int y = 2000000;
|
||||
// this could be optmized 50000000%
|
||||
unsigned blockingSensor;
|
||||
for (int x = area.left; x <= area.right; x++) {
|
||||
no_beacons_for_sure_mate += isPositionImpossible(x, y, beacons, sensors, sensorCount, &blockingSensor);
|
||||
}
|
||||
printf("In row %d, there are %d positions where no beacons are possible\n", y, no_beacons_for_sure_mate);
|
||||
|
||||
for (int x = 0; x < MAX_X; x++) {
|
||||
for (int y = 0; y < MAX_Y; y++) {
|
||||
if (!isPositionImpossible(x, y, beacons, sensors, sensorCount, &blockingSensor)) {
|
||||
unsigned long frequency = (unsigned long) x * 4000000 + y;
|
||||
printf("Tuning frequency from beacon at (%d, %d): %luHz\n", x, y, frequency);
|
||||
goto done;
|
||||
}
|
||||
// skip the until the end of range for the blocking sensor
|
||||
unsigned y_range = sensors[blockingSensor].range - abs(sensors[blockingSensor].x - x);
|
||||
// last y in range
|
||||
y = sensors[blockingSensor].y + y_range;
|
||||
}
|
||||
}
|
||||
printf("Could not find distress beacon :(\n");
|
||||
done:
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user