Solutions to Advent of Code 2017 https://adventofcode.com/2017/
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.

23.txt 279B

1234567891011121314151617181920212223242526272829303132
  1. set b 84
  2. set c b
  3. jnz a 2
  4. jnz 1 5
  5. mul b 100
  6. sub b -100000
  7. set c b
  8. sub c -17000
  9. set f 1
  10. set d 2
  11. set e 2
  12. set g d
  13. mul g e
  14. sub g b
  15. jnz g 2
  16. set f 0
  17. sub e -1
  18. set g e
  19. sub g b
  20. jnz g -8
  21. sub d -1
  22. set g d
  23. sub g b
  24. jnz g -13
  25. jnz f 2
  26. sub h -1
  27. set g b
  28. sub g c
  29. jnz g 2
  30. jnz 1 3
  31. sub b -17
  32. jnz 1 -23