Product on the segment by modulo Submissions | CodeChef