ljl's submission of Stacking Pancakes | CodeChef