2013年1月30日

USACO1.5.1--Number Triangles

摘要: Number TrianglesConsider the number triangle shown below. Write a program that calculates the highest sum of numbers that can be passed on a route that starts at the top and ends somewhere on the base. Each step can go either diagonally down to the left or diagonally down to the right. 7 ... 阅读全文

posted @ 2013-01-30 22:58 仗剑奔走天涯 阅读(210) 评论(0) 推荐(0) 编辑

导航