码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果
Array of Objects
You should be comfortable with the content in the modules up to and including the module "Arrays" for this project.Create a class called consultCo tha...
分类:其他好文   时间:2014-08-04 10:31:16    阅读次数:291
c++ input,output
You should be comfortable with the content in the modules up to and including the module "Input Output" for this project.You must follow the style gui...
分类:编程语言   时间:2014-08-04 10:28:36    阅读次数:288
POJ 1609 Tiling Up Blocks.
~~~~ 二维的最长上升子序列。n^2算法居然可以水过。。 就不多说了,排个序,然后DP。 题目链接:http://poj.org/problem?id=1609 ~~~~ #include #include #include #include #define N 11111 using namespace std; struct node { int l,m; }b[N]; ...
分类:其他好文   时间:2014-08-04 02:07:06    阅读次数:232
POJ 2828 Buy Tickets
Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Year was approaching, but unluckily the Little Ca...
分类:其他好文   时间:2014-08-03 23:26:46    阅读次数:353
[LeetCode] Triangle('Bottom-up' DP)
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-08-03 22:59:56    阅读次数:259
svn使用
1、使用svn很长时间,但是一直使用都没有去梳理过svn是什么,怎么样使用,只会简单的svn 添加文件,删除文件,co,ci,up现在简单的整理一下使用svn的模式有两种1、Lock-Modify-Unlock加锁-修改-解锁 别人在修改这种方式很显然不适合团队协作2、Copy-Modify-Mer...
分类:其他好文   时间:2014-08-03 17:56:55    阅读次数:232
JsRender系列-11
JsRender DemosExample Scenario: Accessing parent data.Stepping up through the views (tree of nested rendered templates) TitleLang...
分类:Web程序   时间:2014-08-03 15:10:25    阅读次数:294
HDU 1520Anniversary party(树型DP)
HDU 1520 Anniversary party题目是说有N个人参加party,每个人有一个rating值(可以理解为权值)和一个up(上司的编号),为了保证party的趣味性,每一个人不可以和他的直接上司都参加,问最后的rating和最大这是一个典型的树形DP,DP[i][0]表示i不参加那他...
分类:其他好文   时间:2014-08-03 15:05:25    阅读次数:215
zoj2314 Reactor Cooling --- 上下界可行流
题目给出了每条边的上下界, 此类题目的建边方法是: 1、添加源点汇点, 2、对每条边 添加边 c(u,v) = up(u,v) - low(u,v) 3、对每个点 c(s,v) = out(v)                        c(v,t) = in(v)   (权值为正) 求s到t的最大流,若最大流等于所有边下界的和,则存在可行流, 每条边的流量为 flow...
分类:其他好文   时间:2014-08-03 12:48:55    阅读次数:248
HDU - 1698 Just a Hook (线段树区间修改)
Description In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic sticks which are of the same lengt...
分类:其他好文   时间:2014-08-03 10:18:05    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!