Update things
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
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(3)
|
||||
class Day03(@Lines val input: Input<List<String>>) {
|
||||
class Day03(@Lines val input: List<String>) {
|
||||
private data class Slope(val x: Int, val y: Int)
|
||||
|
||||
private fun findSlope(slope: Slope): Int {
|
||||
val grid = input.value
|
||||
val grid = input
|
||||
var trees = 0
|
||||
var x = 0
|
||||
var y = 0
|
||||
|
||||
Reference in New Issue
Block a user