Gabriel Pereira de Carvalho's submission of Reversing directions | CodeChef