随笔分类 -  深搜

河南省第四届ACM程序设计大赛
摘要:A: 序号互换 #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <cmath> #include <stack> #include <queue> #include <vect 阅读全文
posted @ 2016-05-30 16:40 栀蓝 阅读(231) 评论(0) 推荐(0)
(区间dp 或 记忆化搜素 )Brackets -- POJ -- 2955
摘要:http://poj.org/problem?id=2955DescriptionWe give the following inductive definition of a “regular brackets” sequence:the empty sequence is a regular b... 阅读全文
posted @ 2015-12-16 16:52 栀蓝 阅读(178) 评论(0) 推荐(0)
(记忆化搜索 )The Triangle--hdu --1163
摘要:http://poj.org/problem?id=1163Description73 88 1 02 7 4 44 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that... 阅读全文
posted @ 2015-12-11 11:19 栀蓝 阅读(243) 评论(0) 推荐(0)
( 递归 )Fractal -- POJ -- 2083
摘要:http://poj.org/problem?id=2083FractalTime Limit:1000MSMemory Limit:30000KTotal Submissions:8317Accepted:3957DescriptionA fractal is an object or quant... 阅读全文
posted @ 2015-12-05 17:26 栀蓝 阅读(310) 评论(0) 推荐(0)
(BestCoder Round #64 (div.2))Array
摘要:BestCoder Round #64 (div.2)Array问题描述Vicky是个热爱数学的魔法师,拥有复制创造的能力。一开始他拥有一个数列{1}。每过一天,他将他当天的数列复制一遍,放在数列尾,并在两个数列间用0隔开。Vicky想做些改变,于是他将当天新产生的所有数字(包括0)全加1。Vick... 阅读全文
posted @ 2015-11-30 16:15 栀蓝 阅读(196) 评论(0) 推荐(0)
(DFS)展开字符串 -- hdu -- 1274
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1274展开字符串Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):... 阅读全文
posted @ 2015-10-14 10:21 栀蓝 阅读(426) 评论(0) 推荐(0)
(深搜)棋盘问题 -- poj -- 1321
摘要:链接:http://poj.org/problem?id=1321Time Limit:1000MSMemory Limit:10000KTotal Submissions:28899Accepted:14307Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区... 阅读全文
posted @ 2015-09-05 09:16 栀蓝 阅读(242) 评论(0) 推荐(0)
(深搜)Oil Deposits -- hdu -- 1241
摘要:链接:http://acm.hdu.edu.cn/showproblem.php?pid=1241Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1... 阅读全文
posted @ 2015-09-02 17:17 栀蓝 阅读(211) 评论(0) 推荐(0)
(全排列)Ignatius and the Princess II -- HDU -- 1027
摘要:链接:http://acm.hdu.edu.cn/showproblem.php?pid=1027Ignatius and the Princess IITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/O... 阅读全文
posted @ 2015-09-01 21:24 栀蓝 阅读(147) 评论(0) 推荐(0)
(深搜)Sum It Up -- poj --1564
摘要:链接:http://poj.org/problem?id=1564http://acm.hust.edu.cn/vjudge/contest/view.action?cid=88230#problem/F给了一个数 m,给一个由 n 个数组成的数组 a[] , 求和为 m 的 a[] 的子集pos ... 阅读全文
posted @ 2015-08-17 18:57 栀蓝 阅读(224) 评论(0) 推荐(0)


levels of contents