aoc-2018-python

Advent of Code 2018 Solutions in Python
git clone https://git.sinitax.com/sinitax/aoc-2018-python
Log | Files | Refs | README | sfeed.txt

part2 (992B)


      1--- Part Two ---
      2
      3After a while, you realize your shuffling skill won't improve much more with merely a single deck of
      4cards.  You ask every 3D printer on the ship to make you some more cards while you check on the ship
      5repairs.  While reviewing the work the droids have finished so far, you think you see Halley's Comet
      6fly past!
      7
      8When you get back, you discover that the 3D printers have combined their power to create for you a
      9single, giant, brand new, factory order deck of 119315717514047 space cards.
     10
     11Finally, a deck of cards worthy of shuffling!
     12
     13You decide to apply your complete shuffle process (your puzzle input) to the deck
     14101741582076661 times in a row.
     15
     16You'll need to be careful, though - one wrong move with this many cards and you might
     17overflow your entire ship!
     18
     19After shuffling your new, giant, factory order deck that many times, what number is on the card that
     20ends up in position 2020?
     21
     22