clearer output

This commit is contained in:
Max Nuding 2021-12-13 07:45:12 +01:00
parent aeb51d7c68
commit 365e67056b
Signed by: phlaym
GPG Key ID: A06651BAB6777237

View File

@ -104,7 +104,7 @@ class Day13: Runnable {
var s = ""
for y in 0...maxY {
for x in 0...maxX {
s += uniqueDots.contains(Coord(x: x, y: y)) ? "#" : "."
s += uniqueDots.contains(Coord(x: x, y: y)) ? "#" : " "
}
s += "\n"
}