Monk at the Graph Factory

Problem Name:
Monk at the Graph Factory
Site:HackerEarth
Links:
Tags:
Problem setters: