Tomek Czajka's submission of Divide and conquer | CodeChef