Utkarsh Pandey's submission of Partition the Graph | CodeChef