Created
December 12, 2021 20:50
-
-
Save mchernyavskaya/0859e7aa93d56dc672c032da8a042ff2 to your computer and use it in GitHub Desktop.
Fish Farm calling code - Advent of Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun part1(input: List<String>): Long { | |
return FishFarm(input[0]).plusDays(DAYS) | |
} | |
// test if implementation meets criteria from the description, like: | |
val testInput = readInput("day6/Example_test") | |
val part1 = part1(testInput) | |
check(part1 == 5934) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment