1
0

Update things

This commit is contained in:
2021-12-01 19:32:38 +01:00
parent ccfcf5a259
commit 322f8eb45a
53 changed files with 156 additions and 239 deletions
+2 -3
View File
@@ -1,13 +1,12 @@
package be.vandewalleh.aoc.days
import be.vandewalleh.aoc.utils.input.Day
import be.vandewalleh.aoc.utils.input.Input
import be.vandewalleh.aoc.utils.input.Lines
@Day(5)
class Day05(@Lines val input: Input<List<String>>) {
class Day05(@Lines val input: List<String>) {
private val ids = input.value.map {
private val ids = input.map {
it.replace("F", "0")
.replace("B", "1")
.replace("L", "0")