From ba9f86ef7ce4cdf131f4fd8e36adaea15d0edf4c Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Thu, 21 Dec 2017 23:10:52 +0100 Subject: Day 21 Please compile this, and even then running takes about a minute on my PC. This is a SLOW implementation, but it works. --- 2017/21.in | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 2017/21.in (limited to '2017/21.in') diff --git a/2017/21.in b/2017/21.in new file mode 100644 index 0000000..5ae0471 --- /dev/null +++ b/2017/21.in @@ -0,0 +1,108 @@ +../.. => .../.#./.#. +#./.. => .../#../#.. +##/.. => #.#/.#./.#. +.#/#. => ##./##./... +##/#. => .##/###/#.. +##/## => .##/#../##. +.../.../... => .#.#/###./##.#/###. +#../.../... => #.#./..#./..../#.#. +.#./.../... => #.##/..#./.#.#/#### +##./.../... => ###./.#../####/##.. +#.#/.../... => ...#/####/#.##/...# +###/.../... => .#../..#./#..#/..#. +.#./#../... => ###./.##./#.../..#. +##./#../... => #.#./...#/..../.### +..#/#../... => ..../..../##../#..# +#.#/#../... => ..#./#..#/.#../..## +.##/#../... => ##../.#.#/.##./...# +###/#../... => ..../#.../#..#/#..# +.../.#./... => ##.#/#.#./#.../#..# +#../.#./... => ..#./#.#./.##./.... +.#./.#./... => ..##/#.../..../###. +##./.#./... => .#../...#/.##./.#.# +#.#/.#./... => ...#/#..#/.#../.### +###/.#./... => ###./.###/##.#/#.## +.#./##./... => ##.#/##../..##/..## +##./##./... => #.##/.###/.##./###. +..#/##./... => ##.#/.##./..##/#### +#.#/##./... => ####/####/#.##/.#.. +.##/##./... => ####/.#../####/#..# +###/##./... => #.#./..#./###./..#. +.../#.#/... => #.../..../.#../#.## +#../#.#/... => ..#./###./####/..#. +.#./#.#/... => #.##/.#../##.#/#.#. +##./#.#/... => ###./.###/###./##.. +#.#/#.#/... => ...#/.##./.#.#/#.## +###/#.#/... => ####/#.../###./###. +.../###/... => ..##/#.##/.#../.#.. +#../###/... => ..../.###/.#.#/...# +.#./###/... => #.##/.#.#/.#.#/.##. +##./###/... => #..#/.#.#/#.##/#.#. +#.#/###/... => #.../##../#.##/##.# +###/###/... => .#../.#../.###/..#. +..#/.../#.. => ...#/.##./.##./#### +#.#/.../#.. => ##.#/##../#.#./.#.. +.##/.../#.. => #..#/.##./####/.#.. +###/.../#.. => ..../..../..##/..## +.##/#../#.. => ..##/.##./#..#/###. +###/#../#.. => ##.#/#..#/#.../#..# +..#/.#./#.. => #..#/##.#/.##./#..# +#.#/.#./#.. => .#../####/..##/#.## +.##/.#./#.. => ###./#..#/.##./###. +###/.#./#.. => ####/###./##../..## +.##/##./#.. => #.../####/...#/#### +###/##./#.. => .#../#.##/.##./#### +#../..#/#.. => .#../####/#.../.... +.#./..#/#.. => .#.#/...#/.###/.#.# +##./..#/#.. => ..##/#..#/#..#/.... +#.#/..#/#.. => .###/.#.#/.##./#.#. +.##/..#/#.. => ...#/#.##/#.../..## +###/..#/#.. => #.##/#.##/...#/#.## +#../#.#/#.. => #..#/..##/.#../.### +.#./#.#/#.. => #.##/..../.##./.#.. +##./#.#/#.. => #.#./..#./.#.#/.#.. +..#/#.#/#.. => ...#/#..#/###./##.. +#.#/#.#/#.. => ##.#/##.#/.#.#/.#.. +.##/#.#/#.. => #..#/#..#/##../.#.. +###/#.#/#.. => #.##/..##/##.#/.... +#../.##/#.. => ##.#/.##./...#/.#.# +.#./.##/#.. => .##./.###/###./.#.# +##./.##/#.. => #.#./#.##/..##/.#.. +#.#/.##/#.. => ..#./.##./..##/.#.. +.##/.##/#.. => ##../..##/#..#/#... +###/.##/#.. => ###./#..#/##.#/..#. +#../###/#.. => .###/#.../####/#.#. +.#./###/#.. => #.#./.###/#..#/.... +##./###/#.. => ..#./.#.#/#.../#... +..#/###/#.. => ...#/..#./##../#..# +#.#/###/#.. => .#.#/###./.#../##.. +.##/###/#.. => .#../###./..#./##.. +###/###/#.. => .#../..##/#.../#... +.#./#.#/.#. => ##.#/..../##../.#.. +##./#.#/.#. => #.../#.##/.###/#.## +#.#/#.#/.#. => ...#/..##/##.#/#.## +###/#.#/.#. => ...#/.#.#/###./#..# +.#./###/.#. => ...#/...#/##../#.## +##./###/.#. => ###./###./.#.#/..## +#.#/###/.#. => ..../#..#/..##/#..# +###/###/.#. => .#.#/.#.#/##../.### +#.#/..#/##. => .##./..#./##../.... +###/..#/##. => ####/...#/.#.#/#... +.##/#.#/##. => ..#./...#/###./.#.. +###/#.#/##. => ..../.#../.#../#.#. +#.#/.##/##. => .##./..../#.../.#.# +###/.##/##. => ..../#..#/...#/#... +.##/###/##. => #.##/##.#/#.../..#. +###/###/##. => .#../.###/###./##.# +#.#/.../#.# => .#.#/..../#..#/.#.. +###/.../#.# => ##../#.##/##.#/..#. +###/#../#.# => .#.#/..../.#.#/.### +#.#/.#./#.# => ...#/..../##.#/#... +###/.#./#.# => ####/.###/#.#./#.## +###/##./#.# => #..#/.###/...#/###. +#.#/#.#/#.# => #.##/...#/.###/.##. +###/#.#/#.# => #.../.#.#/.#.#/.### +#.#/###/#.# => ##.#/##../###./#... +###/###/#.# => .##./.###/.#../..## +###/#.#/### => #.##/###./#..#/#..# +###/###/### => #.../..../#..#/#... -- cgit v1.2.3-54-g00ecf