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.

08.txt 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. rect 1x1
  2. rotate row y=0 by 2
  3. rect 1x1
  4. rotate row y=0 by 5
  5. rect 1x1
  6. rotate row y=0 by 3
  7. rect 1x1
  8. rotate row y=0 by 3
  9. rect 2x1
  10. rotate row y=0 by 5
  11. rect 1x1
  12. rotate row y=0 by 5
  13. rect 4x1
  14. rotate row y=0 by 2
  15. rect 1x1
  16. rotate row y=0 by 2
  17. rect 1x1
  18. rotate row y=0 by 5
  19. rect 4x1
  20. rotate row y=0 by 3
  21. rect 2x1
  22. rotate row y=0 by 5
  23. rect 4x1
  24. rotate row y=0 by 2
  25. rect 1x2
  26. rotate row y=1 by 6
  27. rotate row y=0 by 2
  28. rect 1x2
  29. rotate column x=32 by 1
  30. rotate column x=23 by 1
  31. rotate column x=13 by 1
  32. rotate row y=0 by 6
  33. rotate column x=0 by 1
  34. rect 5x1
  35. rotate row y=0 by 2
  36. rotate column x=30 by 1
  37. rotate row y=1 by 20
  38. rotate row y=0 by 18
  39. rotate column x=13 by 1
  40. rotate column x=10 by 1
  41. rotate column x=7 by 1
  42. rotate column x=2 by 1
  43. rotate column x=0 by 1
  44. rect 17x1
  45. rotate column x=16 by 3
  46. rotate row y=3 by 7
  47. rotate row y=0 by 5
  48. rotate column x=2 by 1
  49. rotate column x=0 by 1
  50. rect 4x1
  51. rotate column x=28 by 1
  52. rotate row y=1 by 24
  53. rotate row y=0 by 21
  54. rotate column x=19 by 1
  55. rotate column x=17 by 1
  56. rotate column x=16 by 1
  57. rotate column x=14 by 1
  58. rotate column x=12 by 2
  59. rotate column x=11 by 1
  60. rotate column x=9 by 1
  61. rotate column x=8 by 1
  62. rotate column x=7 by 1
  63. rotate column x=6 by 1
  64. rotate column x=4 by 1
  65. rotate column x=2 by 1
  66. rotate column x=0 by 1
  67. rect 20x1
  68. rotate column x=47 by 1
  69. rotate column x=40 by 2
  70. rotate column x=35 by 2
  71. rotate column x=30 by 2
  72. rotate column x=10 by 3
  73. rotate column x=5 by 3
  74. rotate row y=4 by 20
  75. rotate row y=3 by 10
  76. rotate row y=2 by 20
  77. rotate row y=1 by 16
  78. rotate row y=0 by 9
  79. rotate column x=7 by 2
  80. rotate column x=5 by 2
  81. rotate column x=3 by 2
  82. rotate column x=0 by 2
  83. rect 9x2
  84. rotate column x=22 by 2
  85. rotate row y=3 by 40
  86. rotate row y=1 by 20
  87. rotate row y=0 by 20
  88. rotate column x=18 by 1
  89. rotate column x=17 by 2
  90. rotate column x=16 by 1
  91. rotate column x=15 by 2
  92. rotate column x=13 by 1
  93. rotate column x=12 by 1
  94. rotate column x=11 by 1
  95. rotate column x=10 by 1
  96. rotate column x=8 by 3
  97. rotate column x=7 by 1
  98. rotate column x=6 by 1
  99. rotate column x=5 by 1
  100. rotate column x=3 by 1
  101. rotate column x=2 by 1
  102. rotate column x=1 by 1
  103. rotate column x=0 by 1
  104. rect 19x1
  105. rotate column x=44 by 2
  106. rotate column x=40 by 3
  107. rotate column x=29 by 1
  108. rotate column x=27 by 2
  109. rotate column x=25 by 5
  110. rotate column x=24 by 2
  111. rotate column x=22 by 2
  112. rotate column x=20 by 5
  113. rotate column x=14 by 3
  114. rotate column x=12 by 2
  115. rotate column x=10 by 4
  116. rotate column x=9 by 3
  117. rotate column x=7 by 3
  118. rotate column x=3 by 5
  119. rotate column x=2 by 2
  120. rotate row y=5 by 10
  121. rotate row y=4 by 8
  122. rotate row y=3 by 8
  123. rotate row y=2 by 48
  124. rotate row y=1 by 47
  125. rotate row y=0 by 40
  126. rotate column x=47 by 5
  127. rotate column x=46 by 5
  128. rotate column x=45 by 4
  129. rotate column x=43 by 2
  130. rotate column x=42 by 3
  131. rotate column x=41 by 2
  132. rotate column x=38 by 5
  133. rotate column x=37 by 5
  134. rotate column x=36 by 5
  135. rotate column x=33 by 1
  136. rotate column x=28 by 1
  137. rotate column x=27 by 5
  138. rotate column x=26 by 5
  139. rotate column x=25 by 1
  140. rotate column x=23 by 5
  141. rotate column x=22 by 1
  142. rotate column x=21 by 2
  143. rotate column x=18 by 1
  144. rotate column x=17 by 3
  145. rotate column x=12 by 2
  146. rotate column x=11 by 2
  147. rotate column x=7 by 5
  148. rotate column x=6 by 5
  149. rotate column x=5 by 4
  150. rotate column x=3 by 5
  151. rotate column x=2 by 5
  152. rotate column x=1 by 3
  153. rotate column x=0 by 4