码迷,mamicode.com
首页 >  
搜索关键字:ikkis problem    ( 37569个结果
HDU 1176 免费馅饼 (DP)
免费馅饼 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 24440    Accepted Submission(s): 8264 Problem Description 都说天上不会掉馅饼,但有一天gamebo...
分类:其他好文   时间:2014-06-10 18:03:05    阅读次数:184
[DP] Rod-cutting problem
给一个长度为 n 的杆子,切成小段卖出去,价格根据小段的长度不同而不同。下面是一个例子我们要通过切成小段卖出尽可能高的总价钱。问题是:How to decompose the problem?Decomposition 的第一步是:第一刀切在哪?可以切在最左边(等于整根卖出去);可以切在位置1,位置...
分类:其他好文   时间:2014-06-10 16:43:26    阅读次数:345
一天一道算法题--6.9--数学题
感谢微信平台----一天一道算法题---------每天多一点进步----今天 刚刚又玩了2盘 LOL 把我的时间全给弄光了.....因为 晚上 可能开始写课程设计了 抓紧时间 写了今天的关于那个 stack的 感觉超出我预期想象了 得压几天了 哎..problem: 求和为指定数字的连续正整数序....
分类:其他好文   时间:2014-06-10 12:25:10    阅读次数:244
*湖南师范大学第五届大学生计算机程序设计竞赛(AKing)
【比赛链接】:http://acm.hunnu.edu.cn/online/?action=problem&type=list&courseid=132A:跑得快计数程序【题解】:细心点,巧妙乘2处理四舍五入,简单模拟【代码】: 1 #include 2 #include 3 #include .....
分类:其他好文   时间:2014-06-10 10:40:22    阅读次数:227
UVA 10085(bfs+康拓展开)八数码问题
Description Problem A The Most Distant State Input: standard input Output: standard output   The 8-puzzle is a square tray in which eight square tiles are placed. The remaining ninth square ...
分类:其他好文   时间:2014-06-10 07:59:06    阅读次数:335
GPS-Graph Processing System Graph Coloring算法分析 (三)
Graph coloring is the problem of assigning a color to each vertex of an undirected graph such that no two adjacent vertices have the same color. We implement the greedy algorithm from Scalable parallel graph coloring algorithms. The algorithm iteratively f...
分类:其他好文   时间:2014-06-10 07:10:19    阅读次数:260
hdu 1978 How many ways
How many ways Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2594    Accepted Submission(s): 1528 Problem Description 这是一个简单的生存游戏,你控...
分类:其他好文   时间:2014-06-10 07:05:49    阅读次数:188
hdu3045之斜率DP
Picnic Cows Time Limit: 8000/4000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1563    Accepted Submission(s): 478 Problem Description It’s summer voc...
分类:其他好文   时间:2014-06-10 07:00:32    阅读次数:262
projecteuler---->problem=24----Lexicographic permutations
问题描述: A permutation is an ordered arrangement of objects. For example, 3124 is one possible permutation of the digits 1, 2, 3 and 4. If all of the permutations are listed numerically or alphabeti...
分类:其他好文   时间:2014-06-10 06:13:21    阅读次数:299
projecteuler---->problem=25----1000-digit Fibonacci number
问题描述: The Fibonacci sequence is defined by the recurrence relation: Fn = Fn1 + Fn2, where F1 = 1 and F2 = 1. Hence the first 12 terms will be: F1 = 1 F2 = 1 F3 = 2 F4 = 3 F5 = 5 F6 = 8 ...
分类:其他好文   时间:2014-06-10 06:10:06    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!