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.

day11-input 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Monkey 0:
  2. Starting items: 52, 78, 79, 63, 51, 94
  3. Operation: new = old * 13
  4. Test: divisible by 5
  5. If true: throw to monkey 1
  6. If false: throw to monkey 6
  7. Monkey 1:
  8. Starting items: 77, 94, 70, 83, 53
  9. Operation: new = old + 3
  10. Test: divisible by 7
  11. If true: throw to monkey 5
  12. If false: throw to monkey 3
  13. Monkey 2:
  14. Starting items: 98, 50, 76
  15. Operation: new = old * old
  16. Test: divisible by 13
  17. If true: throw to monkey 0
  18. If false: throw to monkey 6
  19. Monkey 3:
  20. Starting items: 92, 91, 61, 75, 99, 63, 84, 69
  21. Operation: new = old + 5
  22. Test: divisible by 11
  23. If true: throw to monkey 5
  24. If false: throw to monkey 7
  25. Monkey 4:
  26. Starting items: 51, 53, 83, 52
  27. Operation: new = old + 7
  28. Test: divisible by 3
  29. If true: throw to monkey 2
  30. If false: throw to monkey 0
  31. Monkey 5:
  32. Starting items: 76, 76
  33. Operation: new = old + 4
  34. Test: divisible by 2
  35. If true: throw to monkey 4
  36. If false: throw to monkey 7
  37. Monkey 6:
  38. Starting items: 75, 59, 93, 69, 76, 96, 65
  39. Operation: new = old * 19
  40. Test: divisible by 17
  41. If true: throw to monkey 1
  42. If false: throw to monkey 3
  43. Monkey 7:
  44. Starting items: 89
  45. Operation: new = old + 2
  46. Test: divisible by 19
  47. If true: throw to monkey 2
  48. If false: throw to monkey 4