From d80a5e7400b06c8eff61792a17291ac56ca5cad1 Mon Sep 17 00:00:00 2001 From: Antti H S Laaksonen Date: Thu, 25 May 2017 23:01:28 +0300 Subject: [PATCH] Fix typos --- chapter10.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapter10.tex b/chapter10.tex index b6bd394..9c649c9 100644 --- a/chapter10.tex +++ b/chapter10.tex @@ -496,7 +496,7 @@ go through all $O(n^2)$ pairs of rows and for each pair $(a,b)$ calculate the number of columns that contain a black square in both rows in $O(n)$ time. The following code assumes that $\texttt{color}[y][x]$ -denotes the color in row $y$ in column $x$: +denotes the color in row $y$ and column $x$: \begin{lstlisting} int count = 0; for (int i = 0; i < n; i++) { @@ -727,7 +727,7 @@ we declare an array pair best[1<