Dividing the Kingdom

Problem Name:
Dividing the Kingdom
Site:HackerEarth
Links:
Tags:
Problem setters: