Abhishek Pandey's submission of Optimal Partition | CodeChef