CF 2084D - Arcology On Permafrost

Rating: 1600
Tags: binary search, brute force, constructive algorithms, greedy, math
Solve time: 2m 30s
Verified: no

Solution

Working