Buying A House

Problem Name:
Buying A House
Site:CodeForces
Links:
Tags:
Problem setters: