Advent of Code 2016 solutions https://adventofcode.com/2016/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21.txt 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. move position 2 to position 6
  2. move position 0 to position 5
  3. move position 6 to position 4
  4. reverse positions 3 through 7
  5. move position 1 to position 7
  6. swap position 6 with position 3
  7. swap letter g with letter b
  8. swap position 2 with position 3
  9. move position 4 to position 3
  10. move position 6 to position 3
  11. swap position 4 with position 1
  12. swap letter b with letter f
  13. reverse positions 3 through 4
  14. swap letter f with letter e
  15. reverse positions 2 through 7
  16. rotate based on position of letter h
  17. rotate based on position of letter a
  18. rotate based on position of letter e
  19. rotate based on position of letter h
  20. rotate based on position of letter c
  21. move position 5 to position 7
  22. swap letter a with letter d
  23. move position 5 to position 6
  24. swap position 4 with position 0
  25. swap position 4 with position 6
  26. rotate left 6 steps
  27. rotate right 4 steps
  28. rotate right 5 steps
  29. swap letter f with letter e
  30. swap position 2 with position 7
  31. rotate based on position of letter e
  32. move position 4 to position 5
  33. swap position 4 with position 2
  34. rotate right 1 step
  35. swap letter b with letter f
  36. rotate based on position of letter b
  37. reverse positions 3 through 5
  38. move position 3 to position 1
  39. rotate based on position of letter g
  40. swap letter c with letter e
  41. swap position 7 with position 3
  42. move position 0 to position 3
  43. rotate right 6 steps
  44. reverse positions 1 through 3
  45. swap letter d with letter e
  46. reverse positions 3 through 5
  47. move position 0 to position 3
  48. swap letter c with letter e
  49. move position 2 to position 7
  50. swap letter g with letter b
  51. rotate right 0 steps
  52. reverse positions 1 through 3
  53. swap letter h with letter d
  54. move position 4 to position 0
  55. move position 6 to position 3
  56. swap letter a with letter c
  57. reverse positions 3 through 6
  58. swap letter h with letter g
  59. move position 7 to position 2
  60. rotate based on position of letter h
  61. swap letter b with letter h
  62. reverse positions 2 through 6
  63. move position 6 to position 7
  64. rotate based on position of letter a
  65. rotate right 7 steps
  66. reverse positions 1 through 6
  67. move position 1 to position 6
  68. rotate based on position of letter g
  69. rotate based on position of letter d
  70. move position 0 to position 4
  71. rotate based on position of letter e
  72. rotate based on position of letter d
  73. rotate based on position of letter a
  74. rotate based on position of letter a
  75. rotate right 4 steps
  76. rotate based on position of letter b
  77. reverse positions 0 through 4
  78. move position 1 to position 7
  79. rotate based on position of letter e
  80. move position 1 to position 7
  81. swap letter f with letter h
  82. move position 5 to position 1
  83. rotate based on position of letter f
  84. reverse positions 0 through 1
  85. move position 2 to position 4
  86. rotate based on position of letter a
  87. swap letter b with letter d
  88. move position 6 to position 0
  89. swap letter e with letter b
  90. rotate right 7 steps
  91. move position 2 to position 7
  92. rotate left 4 steps
  93. swap position 6 with position 1
  94. move position 3 to position 5
  95. rotate right 7 steps
  96. reverse positions 0 through 6
  97. swap position 2 with position 1
  98. reverse positions 4 through 6
  99. rotate based on position of letter g
  100. move position 6 to position 4