algorithms
algorithms copied to clipboard
[Oops.] Syntax error in Ch.0 Ex.4 (the new one)
Please verify that the error is present in the most recent revision before reporting. Yes, here: http://jeffe.cs.illinois.edu/teaching/algorithms/book/00-intro.pdf
Chapter number or note title: 00-intro
Page number: 19, at the very bottom
Error description: The value P is used before being defined:
...the standard divisor D = P/R. In the following problems, let P = sum_i Pop[i] denote the total population of all n states,
Suggested fix (if any): define P earlier.