Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
IOG Engineering committed Feb 3, 2023
1 parent 4e2540c commit 74c4a14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 2023-02-03/aoc12/src/AOC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ distance (x, y, c) (x', y', c') =
z = zIndex c
z' = zIndex c'
in abs (x' - x) + abs (y - y') + abs (fromEnum z - fromEnum z')

type Position = (Int, Int)

0 comments on commit 74c4a14

Please sign in to comment.