1
0

Compare commits

..

1 Commits

Author SHA1 Message Date
97334d34eb Day04 2021 2021-12-04 12:10:44 +01:00

View File

@ -20,7 +20,6 @@ class Day04 : BaseDay() {
override fun part2() = boards
.map { playBoard(it, numbers) }
.maxByOrNull { it.first }!!
.also { println(it) }
.second
private fun playBoard(board: List<List<Int>>, numbers: List<Int>): Pair<Int, Int> {