Constructing the Dungeon

Problem Name:
Constructing the Dungeon
Site:CodeForces
Links:
Tags:
Problem setters: