Update things
This commit is contained in:
@@ -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(25)
|
||||
class Day25(@Lines val input: Input<IntArray>) {
|
||||
private val doorPublicKey = input.value[0]
|
||||
private val cardPublicKey = input.value[1]
|
||||
class Day25(@Lines val input: IntArray) {
|
||||
private val doorPublicKey = input[0]
|
||||
private val cardPublicKey = input[1]
|
||||
|
||||
private fun encryptionKey(loopSize: Int, publicKey: Int) = transformSubjectNumber(loopSize, publicKey)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user