Partition the Graph | CodeChef