File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
day10/src/main/kotlin/org/adventofcode Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ object IncompleteExpressionRepairer {
85
85
}
86
86
87
87
fun runSolutionPart1 (expressions : List <String >) {
88
+ println (" Day 10 Solution: Part 1 " )
89
+
88
90
val evaluations = expressions.map { it to ExpressionEvaluator .evaluate(it) }
89
91
90
92
evaluations
@@ -103,6 +105,8 @@ fun runSolutionPart1(expressions: List<String>) {
103
105
}
104
106
105
107
fun runSolutionPart2 (expressions : List <String >) {
108
+ println (" Day 10 Solution: Part 2 " )
109
+
106
110
val evaluations = expressions.map { it to ExpressionEvaluator .evaluate(it) }
107
111
108
112
val repairs = evaluations
@@ -135,6 +139,7 @@ fun runSolutionPart2(expressions: List<String>) {
135
139
136
140
fun main () {
137
141
val expressions = File (" day10/src/main/resources/puzzleInput.txt" ).readLines()
138
- // runSolutionPart1(expressions)
142
+ runSolutionPart1(expressions)
143
+ println ()
139
144
runSolutionPart2(expressions)
140
145
}
You can’t perform that action at this time.
0 commit comments