User:Cscott/Advent Of Code 2023/Day 18

Part 1:

  • Example: 62
  • Full input: 92758

Part 2:

  • Example: 952408144115
  • Full input: 62762509300678

Source: Module:User:Cscott/Advent Of Code 2023/Day 18

(I'm using a lua script I wrote for lua-turtle to bundle up my modules for scribunto, so scroll all the way to the end to find the "real" code.)

Input: