From 4ac15b6ce319d1144106eb88067a49e585634bb6 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Tue, 19 Aug 2025 14:59:11 -0500 Subject: [PATCH] typo --- src/content/posts/algorithms/proofs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/posts/algorithms/proofs.mdx b/src/content/posts/algorithms/proofs.mdx index 94cb810..557050e 100644 --- a/src/content/posts/algorithms/proofs.mdx +++ b/src/content/posts/algorithms/proofs.mdx @@ -15,7 +15,7 @@ A computer science student attempting to learn proofs. Minimize-Digit-Diff($l, r$): 1. Initialize $ans=18$, the largest possible value of $f(l, x) + f(x, r)$ with $l \leq r\leq 10^9$ -2. For $i:=1$ to $200: +2. For $i:=1$ to $200$: - Let $x$ be a random sample from the open interval $[l, r]$ - Let $cost:=f(l, x) + f(x, r)$, computed in $O(1)$ time - $ans:=min(ans,cost)$