2024/.idea/fileTemplates/Advent of Code.kt

17 lines
316 B
Kotlin
Raw Normal View History

2024-12-01 13:01:15 +01:00
#set( $Code = "bar" )
fun main() {
fun part1(input: List<String>): Int {
return input.size
}
fun part2(input: List<String>): Int {
return input.size
}
check(part1(listOf("...")) == 1)
val input = readInput("Day$Day")
part1(input).println()
part2(input).println()
}