Gabriel Pereira de Carvalho's submission of Segment Queries | CodeChef