User:Cscott/Advent Of Code 2023/Day 10

Part 1:

  • Example: 4
  • Example 2: 8
  • Full input: 6897

Part 2:

  • Example 3: 4
  • Example 4: 8
  • Example 5: 10
  • Full input: 367

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

(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: