Compare commits
1 Commits
b7ba2d10a7
...
4a32ffb0c8
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a32ffb0c8 |
@ -53,6 +53,8 @@ class Day11(@Lines val input: Input<List<String>>) {
|
|||||||
private fun countVisibleOccupiedSeats(x: Int, y: Int, seats: Seats): Int {
|
private fun countVisibleOccupiedSeats(x: Int, y: Int, seats: Seats): Int {
|
||||||
var occupied = 0
|
var occupied = 0
|
||||||
|
|
||||||
|
directions.forEach { }
|
||||||
|
|
||||||
for ((dx, dy) in directions) {
|
for ((dx, dy) in directions) {
|
||||||
var xx = x
|
var xx = x
|
||||||
var yy = y
|
var yy = y
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user