
递归
逃课去学习:)
读万卷书,行万里路。
展开
-
HDOJ(递归)——1012.u Calculate e
Problem DescriptionA simple mathematical formula for e iswhere n is allowed to go to infinity. This can actually yield very accurate approximations of e using relatively small values of n.OutputOu...原创 2019-01-11 16:02:37 · 378 阅读 · 0 评论 -
POJ(记忆化搜索) ——1088滑雪
Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长的滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子1 2 3 4 516 17 18 19 615 24 25 20 714 23 22 21 813 12 11 10...原创 2019-03-13 17:16:40 · 156 阅读 · 0 评论