编程题——搜索
文章平均质量分 85
David_Jett
我要变得很强!2017-8-30
展开
-
ZOJ 3332 Strange Country II
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3757 题面: Strange Country II Time Limit: 1 Second Memory Limit: 32768 KB Special Judge You want to visit a st原创 2015-04-23 23:17:42 · 1058 阅读 · 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 · 833 阅读 · 0 评论 -
HDU 4462 Scaring the Birds(dfs)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4462 题面: Scaring the Birds Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3094 A原创 2015-12-16 21:57:56 · 757 阅读 · 0 评论 -
【打CF,学算法——三星级】CodeForces 615B Longtail Hedgehog (DFS/拓扑排序)
题目链接:CF 615B 题面: B. Longtail Hedgehog time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output This Christmas原创 2016-07-08 17:03:47 · 709 阅读 · 0 评论 -
HDU 1242 Rescue(BFS+优先队列)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1242 题面: Rescue Time 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 · 920 阅读 · 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 · 865 阅读 · 0 评论 -
【打CF,学算法——三星级】Codeforces 9C Hexadecimal's Numbers (解法汇总)
题目链接:http://codeforces.com/problemset/problem/9/C 题面:原创 2015-10-05 10:07:54 · 1099 阅读 · 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 · 1177 阅读 · 0 评论 -
POJ 3050 Hopscotch (穷竭搜索)
题目链接:http://poj.org/problem?id=3050 题面: Hopscotch Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2563 Accepted: 1823 Description The cows play the原创 2015-08-09 10:20:19 · 1364 阅读 · 0 评论 -
HDU 5423 Rikka with Tree (树,详解)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5423 题面: Rikka with Tree Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 667 Accept原创 2015-09-15 19:45:37 · 843 阅读 · 0 评论 -
HDU 5438 Ponds (搜索)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5438 题面: Ponds Time 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 · 876 阅读 · 0 评论 -
HDU 4771 Stealing Harry Potter's Precious (深搜+广搜)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4771 题面: 欢迎参加——BestCoder周年纪念赛(高质量题目+多重奖励) Stealing Harry Potter's Precious Time Limit: 2000/1000 MS (Java/Others) Memo原创 2015-07-25 11:02:11 · 1600 阅读 · 0 评论 -
HDU 5305 Friends (深搜)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5305 题面: Friends Time 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 · 829 阅读 · 0 评论 -
ZOJ 3890 Wumpus (2015年7月浙大月赛、广搜)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5560 题面: Wumpus Time Limit: 2 Seconds Memory Limit: 65536 KB One day Leon finds a very classic game called Wumpu原创 2015-07-27 19:42:50 · 1237 阅读 · 0 评论 -
POJ 1088 滑雪 (深搜)
题目链接:http://poj.org/problem?id=1088 题面: 滑雪 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 83760 Accepted: 31349 Description Michael喜欢滑雪这并不奇怪,原创 2015-08-09 13:01:43 · 1160 阅读 · 0 评论 -
HDU 5113 Black And White(DFS+剪枝)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5113 题面: Black And White Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others) Total Submission(s): 1336 A原创 2015-07-16 19:38:36 · 1013 阅读 · 0 评论 -
HDU 5336 XYZ and Drops (模拟+搜索,详解)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5336 题面: XYZ and Drops Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 725 Accept原创 2015-07-31 13:20:50 · 1127 阅读 · 0 评论 -
HDU 5335 Walk Out (搜索+贪心,超详解)经典
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5335 题面: Walk Out Time 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 · 1252 阅读 · 0 评论 -
HDU 5433 Xiao Ming climbing
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5433 题面: Xiao Ming climbing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 404 A原创 2015-09-13 16:56:39 · 1083 阅读 · 5 评论 -
ZOJ 3864 Quiz for EXO-L
题目链接:Quiz for EXO-L 题面: B - Quiz for EXO-L Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Submit Status Practice ZOJ 3864 Description Exo (Korea原创 2015-07-09 22:49:07 · 1503 阅读 · 0 评论