Tiancheng Lou's submission of Perfect Tree Problem | CodeChef