
基本算法--记忆化搜索
淼润淽涵
这个作者很懒,什么都没留下…
展开
-
HDU 1078 FatMouse and Cheese(dp&记忆化搜索)
Problem Description FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p < n and 0 <= q &...原创 2019-04-14 23:07:13 · 170 阅读 · 0 评论 -
POJ 1088 滑雪 (记忆化搜索&DP)
Description Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14 23 22 21...原创 2019-04-14 23:00:25 · 162 阅读 · 0 评论