fix(day_6): part B done in a real dirty way, not happy but happy

This commit is contained in:
2025-12-07 00:29:24 +01:00
parent ffe074001a
commit 2e2b0a22c0

View File

@@ -97,9 +97,9 @@ export async function read_problems_as_cephalopod(
// FIXME: this is really the dirtiest shit I've ever seen // FIXME: this is really the dirtiest shit I've ever seen
const spaces: string[] = []; const spaces: string[] = [];
spaces.fill(" ", 0, 400); spaces.fill("0", 0, 400);
const rows = problem_text.split("\n").map((row) => const rows = problem_text.split("\n").map((row) =>
`${row}${spaces.join("")}-` `${row}${spaces.join("")}`
); );
const operands_row = rows.splice(-2); const operands_row = rows.splice(-2);