1. 程式人生 > >Problem A: 動態規劃基礎題目之數字三角形

Problem A: 動態規劃基礎題目之數字三角形

Your program is to read from standard input. The first line contains one integer N: the number of rows in the triangle. The following N lines describe the data of the triangle. The number of rows in the triangle is > 1 but <= 100. The numbers in the triangle, all integers, are between 0 and 99.