We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8cc546 commit b9e4b14Copy full SHA for b9e4b14
build.gradle
@@ -4,7 +4,7 @@ plugins {
4
5
// project meta data
6
group 'de.havox_design.aoc2023'
7
-version '0.16.3'
+version '0.16.4'
8
9
// Switch to gradle "all" distribution.
10
wrapper {
day17/src/main/kotlin/de/havox_design/aoc2023/day17/Day17.kt
@@ -9,7 +9,12 @@ class Day17(private var filename: String) {
.findPath()
11
fun solvePart2(): Long =
12
- 94L
+ parseCoodinateMap()
13
+ .findPath(
14
+ maxConsecutive = 10,
15
+ minConsecutive = 4,
16
+ minMovedForEnd = 4
17
+ )
18
19
private fun Map<Coordinate, Int>.findPath(
20
maxConsecutive: Int = 3, minConsecutive: Int = 0, minMovedForEnd: Int = 0
0 commit comments