Skip to content

ratingproblems

bradendubois edited this page Nov 8, 2021 · 8 revisions

Rating Problems

ID: ratingproblems

Difficulty: 1.3

CPU Time: 1 second

Memory: 2048 MB

Solution

For this, add up the k given ratings. The remaining n-k ratings could be (at worst) all -3, or (at best) +3, so the range is (the given ratings minus (3 * n-k)) / n to (the given ratings plus (3 * n-k)) / n.

Clone this wiki locally