2011年5月11日 星期三
find the maximum of a triangle
Embarcadero| CodeCentral Delphi Submissions |13:07:36
input: a triangle of numbersoutput: the path from head to base that contains the maximum sum.for example for the triabgle input: 2 7 9 9 9 5 ...
![]() |
最佳浏览:谷歌浏览器 |
Embarcadero| CodeCentral Delphi Submissions |13:07:36
input: a triangle of numbersoutput: the path from head to base that contains the maximum sum.for example for the triabgle input: 2 7 9 9 9 5 ...