You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mean calculation computes the exact mean and then floors it. Is this always correct, or are there some cases where the smallest integer larger than the non-integer mean produces lower cost?
advent_of_code/day7/challenge_2.pl
Line 18 in e4fc0f4
The mean calculation computes the exact mean and then floors it. Is this always correct, or are there some cases where the smallest integer larger than the non-integer mean produces lower cost?