原题地址:https://oj.leetcode.com/problems/triangle/题意:Given 
a triangle, find the minimum path sum from top to bottom. Each step you may move 
to adjacent n...
                            
                            
                                分类:
编程语言   时间:
2014-06-06 17:31:34   
                                阅读次数:
397
                             
                    
                        
                            
                            
                                http://www.qingdou.me/2142.htmlCSS书写顺序1.位置属性(position, 
top, right, z-index, display, float等)2.大小(width, height, padding, 
margin)3.文字系列(font, line-heig...
                            
                            
                                分类:
Web程序   时间:
2014-06-06 14:09:25   
                                阅读次数:
393
                             
                    
                        
                            
                            
                                It happened in the iron and instantaneous 
stuffy car, will have top, hydraulic automatic row material, greatly reduces the 
original spring cone crushe...
                            
                            
                                分类:
其他好文   时间:
2014-06-06 10:45:06   
                                阅读次数:
310
                             
                    
                        
                            
                            
                                代码插入测试html,body{height:100%;width:100%;}.top{position:fixed;}图片插入测试(应为原始大小)更新于2014/6/3
                            
                            
                                分类:
其他好文   时间:
2014-06-04 14:52:35   
                                阅读次数:
203
                             
                    
                        
                            
                            
                                从一开始学离散化就对它没有半毛钱好感,感觉出这种题纯属恶心人。
可以将Top x全部取出来然后离散化,缩点。剩下的就是伸展了,不再赘述。
也有人拿线段树过,一直没有想明白. . .
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#pragma comment...
                            
                            
                                分类:
其他好文   时间:
2014-06-02 23:24:50   
                                阅读次数:
338
                             
                    
                        
                            
                            
                                本题使用动态规划法, 或者记忆法,加上递归法。
不加上递归法,好像很麻烦,因为我们不知道其初始值,只知道其最终值,所以只能往下递推了,这样使用记忆法就比动态规划要方便了。
使用二维表设计其递归记忆表,防止重复计算。还是十分困难的,动态规划法有时候不一定比记忆法要好。
递归记忆法的学名: top-down with memoization; Introduction to Algorithm的Dynamic programming 这章有介绍...
                            
                            
                                分类:
其他好文   时间:
2014-06-02 23:04:24   
                                阅读次数:
397
                             
                    
                        
                            
                            
                                ProblemYou want your UI components to have 
gravity, so that if they are dragged up to the top of the screen, they will 
descend on their own. Combining...
                            
                            
                                分类:
其他好文   时间:
2014-06-02 20:01:49   
                                阅读次数:
243
                             
                    
                        
                            
                            
                                Paper:
ImageNet Classification with Deep Convolutional Neual Network
Achievements:
The model addressed by Alex etl.
achieved top-1 and top-5 test error rate of 
37.5% and
17.0% of classifyin...
                            
                            
                                分类:
Web程序   时间:
2014-06-02 15:08:24   
                                阅读次数:
369
                             
                    
                        
                            
                            
                                求出强联通分量之后判断出度为0的点有几个,有1个就输出这个分量的点的数目,否则输出0;var 
i,j,n,m,x,y,ans1,ans2,t,cnt,top:longint; head,next,go,sta,inp:array[0..50010] of 
longint; low,dfn...
                            
                            
                                分类:
移动开发   时间:
2014-06-02 11:38:57   
                                阅读次数:
220
                             
                    
                        
                            
                            
                                public abstract 
classWindowextendsObjectjava.lang.Object?android.view.WindowClass 
OverviewAbstract base class for a top-level window look and behavior...