Tiancheng Lou's submission of Max-digit Tree | CodeChef