Number of Apartments

Problem Name:
Number of Apartments
Site:CodeForces
Links:
Tags: