Haunted House

Problem Name:
Haunted House
Site:CodeForces
Links:
Tags:
Problem setters: