随笔分类 - 广搜,深搜
大牛经典
摘要:Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8353 Accepted Submission(s): 2438 Problem
阅读全文
摘要:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=103711#problem/M/*BFS简单题链接地址: http://acm.hdu.edu.cn/showproblem.php?pid=1495思路:预处理m #include#inc...
阅读全文
摘要:Y - How many ways Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1978Appoint description:Description 这...
阅读全文
摘要:Z - Bus Routes Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice URAL 1137DescriptionSeveral bus routes were ...
阅读全文
摘要:E - Labyrinth Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice URAL 1033DescriptionAdministration of the lab...
阅读全文
摘要:半年前在POJ上遇到过一次剪枝的题目,那时觉得剪枝好神秘。。。今天在网上查了半天资料,终于还是摸索到了一点知识,但是相关资料并不多,在我看来,剪枝是技巧,而不是方法,也就是说,可能一点实用的小技巧,让程序可以少判断一点,这就是剪枝,剪枝无处不在,搜索的进程可以看作是从树根出发,遍历一棵倒置的树—-搜...
阅读全文
摘要:栋栋最近开了一家餐饮连锁店,提供外卖服务。随着连锁店越来越多,怎么合理的给客户送餐成为了一个急需解决的问题。 栋栋的连锁店所在的区域可以看成是一个n×n的方格图(如下图所示),方格的格点上的位置上可能包含栋栋的分店(绿色标注)或者客户(蓝色标注),有一些格点是不能经过的(红色标注)。 方格图...
阅读全文
摘要:组合Time Limit: 1000 MSMemory Limit: 32768 KTotal Submit: 57(38 users)Total Accepted: 43(36 users)Rating:Special Judge: NoDescription给出一个正整数N,从集合{1,2,3....
阅读全文
摘要:SudokuTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 16102Accepted: 7867Special JudgeDescriptionSudoku is a very simple task. A square table...
阅读全文
摘要:PotsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 12198Accepted: 5147Special JudgeDescriptionYou are given two pots, having the volume of A...
阅读全文
摘要:Curling 2.0Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 14563Accepted: 6080DescriptionOn Planet MM-21, after their Olympic games this year...
阅读全文
摘要:Find The MultipleTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 22121Accepted: 9081Special JudgeDescriptionGiven a positive integer n, write...
阅读全文
摘要:Prime PathTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 14276Accepted: 8045DescriptionThe ministers of the cabinet were quite upset by the ...
阅读全文
摘要:Dungeon MasterTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 21230Accepted: 8261DescriptionYou are trapped in a 3D dungeon and need to find ...
阅读全文
摘要:Catch That CowTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 61826Accepted: 19329DescriptionFarmer John has been informed of the location of...
阅读全文
摘要:Children of the Candy CornTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 11215Accepted: 4841DescriptionThe cornfield maze is a popular Hallo...
阅读全文
摘要:A Knight's JourneyTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 35868Accepted: 12227DescriptionBackground The knight is getting bored of se...
阅读全文
摘要:Mr. B has recently discovered the grid named "spiral grid".Construct the grid like the following figure. (The grid is actually infinite. The figure is...
阅读全文
摘要:Kakuro Extension ExtensionTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 507Accepted Submission(s...
阅读全文
摘要:War chess is hh's favorite game:In this game, there is an N * M battle map, and every player has his own Moving Val (MV). In each round, every player ...
阅读全文