We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 476a503 commit b797387Copy full SHA for b797387
1 file changed
src/main/kotlin/cz/glubo/adventofcode/y2024/day21/Day21.kt
@@ -119,7 +119,7 @@ class Layer(
119
position = targetPos
120
}
121
logger.debug { "$layerName hydrated $input: $outputs" }
122
- return@getOrPut outputs
+ outputs
123
124
125
private fun shortestPaths(
@@ -152,7 +152,7 @@ class Layer(
152
153
} while (paths.isNotEmpty())
154
155
- return@getOrPut result
+ result
156
157
158
private fun getPosition(t: Tile) =
0 commit comments