Skip to main content

Practice · 4 of 4

Clinic: The Drifting Mean

CHALLENGE
Difficulty: advanced+25 XP

**Bài toán.** n ≤ 200000 integers up to 10^9; print floor(mean) of all values. (No floating point needed at all.) **The submission below accumulates a double mean — Wrong Answer on large inputs due to accumulated precision error.** Fix it with exact integer arithmetic.

Back to lesson: Practice: Clinic Set 2 — Subtle Failures