Skip to content

Commit

Permalink
D11: Adding answers.
Browse files Browse the repository at this point in the history
  • Loading branch information
sraaphorst committed Dec 11, 2024
1 parent 0c03871 commit 2aae2be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/day11/day11.kt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ fun answer2(input: String): Long =
fun main() {
val input = fetchAdventOfCodeInput(2024, 11)
println("--- Day 11: Plutonian Pebbles ---")
timedFunction("Part 1") { answer1(input) }
timedFunction("Part 1") { answer1(input) } // 185894
println("\tCache size: ${cacheSize()}")
timedFunction("Part 2") { answer2(input) }
timedFunction("Part 2") { answer2(input) } // 221632504974231
println("\tCache size: ${cacheSize()}")
}
}

0 comments on commit 2aae2be

Please sign in to comment.