From 99818fe8661f3d031bc81afeb8235f172aff8d8f Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 13 Dec 2021 11:10:35 -0500 Subject: Solve day 13 part 2 --- 2021/day13.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '2021') diff --git a/2021/day13.c b/2021/day13.c index 9635616..3e60177 100644 --- a/2021/day13.c +++ b/2021/day13.c @@ -47,4 +47,10 @@ int main(void) { first = 0; } } + for (int y = 0; y < h; ++y) { + for (int x = 0; x < w; ++x) { + printf("%c", (paper[y][x] ? '#' : '.')); + } + printf("\n"); + } } -- cgit 1.4.1