Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr committed Dec 1, 2024
1 parent 3d16e01 commit f8f5ca3
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Main.lean
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ def solve (name: String) (inputPath: String) : IO Unit := do
IO.println s!"Part 2: {part2}"

def main : IO Unit := do
try
IO.println "Day 01"
IO.println ""
solve "Example" "inputs/day01/example.txt"
IO.println ""
solve "Puzzle" "inputs/day01/input.txt" -- 2066446, 24931009
catch e =>
IO.println s!"Caught exception: {e}"
IO.println "Day 01"
IO.println ""
solve "Example" "inputs/day01/example.txt"
IO.println ""
solve "Puzzle" "inputs/day01/input.txt" -- 2066446, 24931009

0 comments on commit f8f5ca3

Please sign in to comment.