aoc-2020-zig

Advent of Code 2020 Solutions in Zig
git clone https://git.sinitax.com/sinitax/aoc-2020-zig
Log | Files | Refs | README | sfeed.txt

part2 (526B)


      1--- Part Two ---
      2
      3Ding! The "fasten seat belt" signs have turned on. Time to find your seat.
      4
      5It's a completely full flight, so your seat should be the only missing boarding pass in your list.
      6However, there's a catch: some of the seats at the very front and back of the plane don't exist on
      7this aircraft, so they'll be missing from your list as well.
      8
      9Your seat wasn't at the very front or back, though; the seats with IDs +1 and -1 from yours will be
     10in your list.
     11
     12What is the ID of your seat?
     13
     14