From 2e2b0a22c0f2a5fcba852cc4c8c162cb03132ed0 Mon Sep 17 00:00:00 2001 From: Daniel Heras Quesada Date: Sun, 7 Dec 2025 00:29:24 +0100 Subject: [PATCH] fix(day_6): part B done in a real dirty way, not happy but happy --- src/exercises/day_6.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exercises/day_6.ts b/src/exercises/day_6.ts index 50000ee..376780b 100644 --- a/src/exercises/day_6.ts +++ b/src/exercises/day_6.ts @@ -97,9 +97,9 @@ export async function read_problems_as_cephalopod( // FIXME: this is really the dirtiest shit I've ever seen const spaces: string[] = []; - spaces.fill(" ", 0, 400); + spaces.fill("0", 0, 400); const rows = problem_text.split("\n").map((row) => - `${row}${spaces.join("")}-` + `${row}${spaces.join("")}` ); const operands_row = rows.splice(-2);