---dfs
christry_stool
这个作者很懒,什么都没留下…
展开
-
codeforces_688C. NP-Hard Problem(二分图+dfs染色)
C. NP-Hard Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, Pari and Arya did some researc原创 2016-09-01 15:38:46 · 336 阅读 · 0 评论 -
poj_1753 Flip Game(dfs+枚举)/(bfs+位运算)
Flip GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 40897 Accepted: 17756DescriptionFlip game is played on a rectangular 4x4 field with two-sided p原创 2016-10-01 02:41:41 · 302 阅读 · 0 评论 -
poj_1416 Shredding Company(dfs)
Shredding CompanyTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5684 Accepted: 3190DescriptionYou have just been put in charge of developing a new shre原创 2016-11-16 22:13:28 · 240 阅读 · 0 评论 -
poj_1321 棋盘问题(dfs)
棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 37781 Accepted: 18537Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求原创 2016-11-06 17:44:54 · 248 阅读 · 0 评论 -
codeforces_679C. Bear and Square Grid(滑块)
C. Bear and Square Gridtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a grid with n rows and n c原创 2016-07-03 15:48:13 · 740 阅读 · 0 评论 -
codeforces_686C. Robbers' watch(dfs)
C. Robbers' watchtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRobbers, who attacked the Gerda's cab, ar原创 2016-08-30 19:03:46 · 395 阅读 · 0 评论 -
codeforces_679B. Bear and Tower of Cubes(贪心+二分+dfs)
B. Bear and Tower of Cubestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little polar bear. He原创 2016-07-03 12:53:30 · 445 阅读 · 0 评论 -
codeforces_598D. Igor In the Museum(dfs)
D. Igor In the Museumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIgor is in the museum and he wants to原创 2016-04-06 14:08:50 · 306 阅读 · 0 评论 -
scau_伪Acmer的推理(dfs)
17232 伪Acmer的推理时间限制:1000MS 内存限制:65535K提交次数:12 通过次数:9 收入:32题型: 编程题 语言: G++;GCCDescription现在正是期末,在复习离散数学的Acmer遇到了问题,你能帮助他吗?Acmer正在复习的是推理,不过他的推理系统可能与别人的不一样。(所以说他是一个伪Acmer~。原创 2015-11-28 13:44:38 · 907 阅读 · 0 评论 -
codeforces_622E. Ants in Leaves(dfs+排序+贪心)
E. Ants in Leavestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTree is a connected graph without cycles. A leaf原创 2016-04-07 10:29:33 · 360 阅读 · 0 评论