From fd339bd21dcecd4e0b41293bbe41d3ff0a9f3c8c Mon Sep 17 00:00:00 2001 From: Dany Sluijk Date: Mon, 23 Dec 2024 06:52:29 +0100 Subject: [PATCH] chore: remove debug lines --- solvers/21/1.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/solvers/21/1.ts b/solvers/21/1.ts index 836171d..0f5df16 100644 --- a/solvers/21/1.ts +++ b/solvers/21/1.ts @@ -78,7 +78,6 @@ const minLength = ( ): number => { let total = 0; let currentChar: Directional | Numeric = "A"; - console.log(sequence); for (const char of sequence) { const moves = getMoves(currentChar, char, depth); @@ -106,7 +105,6 @@ export const solve = (input: string) => { let totalComplexity = 0; for (const line of lines) { const length = minLength(line.split("") as Numeric[], 2, 0); - console.log(length, Number(line.replaceAll("A", ""))); totalComplexity += Number(line.replaceAll("A", "")) * length; }