Solve the minimum total sum triangle for new online judge.