1
0

Compare commits

..

1 Commits

Author SHA1 Message Date
hubert 4a32ffb0c8 Day11 2020-12-11 08:06:45 +01:00
+2
View File
@@ -53,6 +53,8 @@ class Day11(@Lines val input: Input<List<String>>) {
private fun countVisibleOccupiedSeats(x: Int, y: Int, seats: Seats): Int {
var occupied = 0
directions.forEach { }
for ((dx, dy) in directions) {
var xx = x
var yy = y