diff --git a/book.pdf b/book.pdf index ba87e23..34067a3 100644 Binary files a/book.pdf and b/book.pdf differ diff --git a/chapter07.tex b/chapter07.tex index 7032f21..70fd873 100644 --- a/chapter07.tex +++ b/chapter07.tex @@ -356,7 +356,7 @@ for $0 \le x \le n$: \begin{lstlisting} count[0] = 1; -for (int x = 1; x <= n; i++) { +for (int x = 1; x <= n; x++) { for (auto c : coins) { if (x-c >= 0) { count[x] += count[x-c];