Gabriel Pereira de Carvalho's submission of Counting on a Tree | CodeChef