From 95f3f036cd8eca64a7b034e8c9dbbfe98016a0ca Mon Sep 17 00:00:00 2001 From: "nuo.o" <49533950+nuoxoxo@users.noreply.github.com> Date: Wed, 20 Sep 2023 21:04:37 +0200 Subject: [PATCH] Update Aoc2212.tsx --- src/includes/Aoc2212.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/includes/Aoc2212.tsx b/src/includes/Aoc2212.tsx index 495e358..41a3bfe 100644 --- a/src/includes/Aoc2212.tsx +++ b/src/includes/Aoc2212.tsx @@ -37,6 +37,7 @@ var Aoc2212 = () => { er: number, ec: number ) => { + let [R, C]: number[] = [lines.length, lines[0].length] const D: [number, number][] = [ [-1, 0], @@ -98,6 +99,7 @@ var Aoc2212 = () => { er: number, ec: number ) => { + let res: number = 1e9 let [R, C]: number[] = [lines.length, lines[0].length] const D: [number, number][] = [