Minor clarification.
Change-Id: I987576476869e24d727ecc3f941a1b627e96a417
This commit is contained in:
parent
db7f45670e
commit
1eca157417
@ -120,7 +120,7 @@ fun main() {
|
|||||||
val grid = CharGrid(input, '%')
|
val grid = CharGrid(input, '%')
|
||||||
var exp = grid.findMatches { it == 'S' }.map { RelPos(it.first, it.second) }.toSet()
|
var exp = grid.findMatches { it == 'S' }.map { RelPos(it.first, it.second) }.toSet()
|
||||||
val mp = steps % 262
|
val mp = steps % 262
|
||||||
for (i in 1..589) {
|
for (i in 1..(262 * 2 + mp)) {
|
||||||
exp =
|
exp =
|
||||||
exp.flatMap {
|
exp.flatMap {
|
||||||
CharGrid.PLUS_POS.map { rp -> it.translate(rp) }
|
CharGrid.PLUS_POS.map { rp -> it.translate(rp) }
|
||||||
|
Loading…
Reference in New Issue
Block a user