码迷,mamicode.com
首页 >  
搜索关键字:crb and candies    ( 410个结果
HDU 5412——CRB and Queries——————【线段树套Treap(并没有AC)】
CRB and QueriesTime Limit: 12000/6000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1602Accepted Submission(s): 409P...
分类:其他好文   时间:2015-09-11 19:24:15    阅读次数:310
hdu 5412 CRB and Queries
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5412CRB and QueriesDescriptionThere are $N$ boys in CodeLand. Boy i has his coding skill $A_{i}$. CRB wa...
分类:其他好文   时间:2015-09-10 00:26:56    阅读次数:177
UVa 10118 记忆化搜索 Free Candies
假设在当前状态我们第i堆糖果分别取了cnt[i]个,那么篮子里以及口袋里糖果的个数都是可以确定下来的。所以就可以使用记忆化搜索。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int maxn = 45; ...
分类:其他好文   时间:2015-09-02 00:17:51    阅读次数:180
SPFA/Dijkstra POJ 3159 Candies
题目传送门题意:n个人发糖果,B 比 A 多 C的糖果,问最后第n个人比第一个人多多少的糖果分析:最短路,Dijkstra 优先队列优化可过,SPFA竟然要用栈,队列超时!代码:/************************************************* Author ...
分类:其他好文   时间:2015-09-01 21:14:26    阅读次数:168
hdu 5407 CRB and Candies
题目: CRB and Candies Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 652    Accepted Submission(s): 324 Problem Description CRB has N...
分类:其他好文   时间:2015-08-31 13:37:48    阅读次数:145
hdu 5410 CRB and His Birthday(动态规划)
题目: CRB and His Birthday Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 748    Accepted Submission(s): 395 Problem Description Toda...
分类:其他好文   时间:2015-08-31 13:36:18    阅读次数:150
hdoj 4322 Candy 【最大费用最大流】【经典题目】【最大流时 维护费用的最大效益】
Candy Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1829    Accepted Submission(s): 500 Problem Description There are N candies a...
分类:其他好文   时间:2015-08-31 11:53:30    阅读次数:244
多校10 1007 CRB and Queries
CRB and QueriesTime Limit: 12000/6000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 3233Accepted Submission(s): 148P...
分类:其他好文   时间:2015-08-30 21:06:04    阅读次数:128
HDU 5414 CRB and String
链接:http://acm.hdu.edu.cn/showproblem.php?pid=5414Problem DescriptionCRB has two stringssandt.In each step, CRB can select arbitrary charactercofsand i...
分类:其他好文   时间:2015-08-28 19:18:49    阅读次数:186
HDU 5410 CRB and His Birthday
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5410Problem DescriptionToday is CRB's birthday. His mom decided to buy many presents for her lovely son...
分类:其他好文   时间:2015-08-27 18:05:58    阅读次数:164
410条   上一页 1 ... 19 20 21 22 23 ... 41 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!