Mark Kornejchik's submission of Chef and Subarray Queries | CodeChef