Comments
On KANCodeforces Round 990, 17 months ago
+8

A similar problem (with differences but almost identical solution) is USACO 2016 February Contest, Platinum, Problem 1. Load Balancing.

Joker, don't use another account to comment on yourself!!