
编程题——搜索
文章平均质量分 85
David_Jett
我要变得很强!2017-8-30
展开
-
ZOJ 3332 Strange Country II
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3757题面: Strange Country IITime Limit: 1 Second Memory Limit: 32768 KB Special JudgeYou want to visit a st原创 2015-04-23 23:17:42 · 1083 阅读 · 0 评论 -
PAT-PAT (Advanced Level) Practise 1018. Public Bike Management (30) 【四星级】
题目链接:http://www.patest.cn/contests/pat-a-practise/1018题目链接:1018. Public Bike Management (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Sta原创 2015-11-24 17:00:57 · 844 阅读 · 0 评论 -
HDU 4462 Scaring the Birds(dfs)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4462题面:Scaring the BirdsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3094 A原创 2015-12-16 21:57:56 · 774 阅读 · 0 评论 -
【打CF,学算法——三星级】CodeForces 615B Longtail Hedgehog (DFS/拓扑排序)
题目链接:CF 615B题面:B. Longtail Hedgehogtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis Christmas原创 2016-07-08 17:03:47 · 727 阅读 · 0 评论 -
HDU 1242 Rescue(BFS+优先队列)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1242题面:RescueTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25017 Accepted Su原创 2016-05-28 14:27:29 · 936 阅读 · 0 评论 -
UVALive 7203 At most twice (暴搜)
题目链接:UVALive 7203 At most twice题目大意: 给定一个数字U,求不超过U的数字L。其中L要满足0-9每位数字至多只出现2位的要求。解题: 这道题,我采用的是暴搜,去寻找小于等于当前数,且符合要求的最大数。看似搜索空间极大,按复杂度算是一定会跪的。但是,因为要搜索的答案离初始值很近,故不会跪。 队友szh的做法原创 2016-01-29 10:30:16 · 884 阅读 · 0 评论 -
【打CF,学算法——三星级】Codeforces 9C Hexadecimal's Numbers (解法汇总)
题目链接:http://codeforces.com/problemset/problem/9/C题面:原创 2015-10-05 10:07:54 · 1121 阅读 · 0 评论 -
PAT-PAT (Advanced Level) Practise 1102 Invert a Binary Tree (25)【三星级】
题目链接:http://www.patest.cn/contests/pat-a-practise/1102题面:1102. Invert a Binary Tree (25)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, Y原创 2015-09-19 11:50:14 · 1196 阅读 · 0 评论 -
POJ 3050 Hopscotch (穷竭搜索)
题目链接:http://poj.org/problem?id=3050题面:HopscotchTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2563 Accepted: 1823DescriptionThe cows play the原创 2015-08-09 10:20:19 · 1387 阅读 · 0 评论 -
HDU 5423 Rikka with Tree (树,详解)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5423题面:Rikka with TreeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 667 Accept原创 2015-09-15 19:45:37 · 860 阅读 · 0 评论 -
HDU 5438 Ponds (搜索)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5438题面:PondsTime Limit: 1500/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1308 Accepted Subm原创 2015-09-15 13:12:20 · 890 阅读 · 0 评论 -
HDU 4771 Stealing Harry Potter's Precious (深搜+广搜)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4771题面:欢迎参加——BestCoder周年纪念赛(高质量题目+多重奖励)Stealing Harry Potter's PreciousTime Limit: 2000/1000 MS (Java/Others) Memo原创 2015-07-25 11:02:11 · 1611 阅读 · 0 评论 -
HDU 5305 Friends (深搜)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5305题面:FriendsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1149 Accepted Subm原创 2015-07-25 11:11:51 · 843 阅读 · 0 评论 -
ZOJ 3890 Wumpus (2015年7月浙大月赛、广搜)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5560题面:WumpusTime Limit: 2 Seconds Memory Limit: 65536 KB One day Leon finds a very classic game called Wumpu原创 2015-07-27 19:42:50 · 1261 阅读 · 0 评论 -
POJ 1088 滑雪 (深搜)
题目链接:http://poj.org/problem?id=1088题面:滑雪Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 83760 Accepted: 31349Description Michael喜欢滑雪这并不奇怪,原创 2015-08-09 13:01:43 · 1176 阅读 · 0 评论 -
HDU 5113 Black And White(DFS+剪枝)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5113题面:Black And WhiteTime Limit: 2000/2000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 1336 A原创 2015-07-16 19:38:36 · 1030 阅读 · 0 评论 -
HDU 5336 XYZ and Drops (模拟+搜索,详解)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5336题面:XYZ and DropsTime Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 725 Accept原创 2015-07-31 13:20:50 · 1142 阅读 · 0 评论 -
HDU 5335 Walk Out (搜索+贪心,超详解)经典
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5335题面:Walk OutTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2355 Accepted Sub原创 2015-08-01 13:02:12 · 1270 阅读 · 0 评论 -
HDU 5433 Xiao Ming climbing
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5433题面:Xiao Ming climbingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 404 A原创 2015-09-13 16:56:39 · 1102 阅读 · 5 评论 -
ZOJ 3864 Quiz for EXO-L
题目链接:Quiz for EXO-L题面:B - Quiz for EXO-LTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3864DescriptionExo (Korea原创 2015-07-09 22:49:07 · 1518 阅读 · 0 评论