From 944f0b9bcd15dcb537e808f8a7e70176de4dd08e Mon Sep 17 00:00:00 2001 From: Rameez Parwez <79394137+freakin23@users.noreply.github.com> Date: Mon, 4 Nov 2024 20:30:09 +0530 Subject: [PATCH] Update dmoj-spirale.mdx --- solutions/bronze/dmoj-spirale.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solutions/bronze/dmoj-spirale.mdx b/solutions/bronze/dmoj-spirale.mdx index 507f56062e..e310958921 100644 --- a/solutions/bronze/dmoj-spirale.mdx +++ b/solutions/bronze/dmoj-spirale.mdx @@ -83,7 +83,8 @@ uy = [1, 0, -1, 0] dx = [0, -1, 0, 1] dy = [-1, 0, 1, 0] -mat = [[(float("inf"))] * 50 for _ in range(50)] +MAX_N = 50 +mat = [[(float("inf"))] * MAX_N for _ in range(MAX_N)] curr = 0 cnt = 0