
简单搜索
deebcjrb
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
(kuangbin带你飞--简单搜索)Dungeon Master (三维bfs)
原题目:You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit north,...原创 2020-02-14 19:02:35 · 135 阅读 · 0 评论 -
(kuangbin带你飞--简单搜索)棋盘问题 poj1321
原题目:在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一个n*n的矩阵内描述棋盘,以及摆放棋子的数目。 n <= 8 , k &l...原创 2019-12-08 19:22:21 · 115 阅读 · 0 评论 -
(kuangbin带你飞--简单搜索)Pots POJ3414
原题目:You are given two pots, having the volume of A and B liters respectively. The following operations can be performed:1.FILL(i) fill the pot i (1 ≤ i ≤ 2) from the tap;2.DROP(i) em...原创 2019-07-23 15:51:44 · 139 阅读 · 0 评论 -
(kuangbin带你飞--简单搜索)Fire Game FZU2150
原题目:Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is consisting of grass or just empty and then they...原创 2019-07-23 18:13:55 · 182 阅读 · 3 评论 -
(kuangbin带你飞--简单搜索)Shuffle'm Up POJ3087
原题目:A common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks of poker chips, S1 and S2, each stack containing C...原创 2019-07-23 10:30:21 · 110 阅读 · 0 评论 -
(kuangbin带你飞--简单搜索)Prime Path POJ3126
原题目:The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices.— It is a matter ...原创 2019-07-23 10:42:53 · 184 阅读 · 0 评论