
POJ
rain699
这个作者很懒,什么都没留下…
展开
-
POJ3258 跳石头 二分
题目:Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight river with...原创 2018-08-17 22:36:55 · 212 阅读 · 0 评论 -
POJ1915广搜
BackgroundMr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him can move knights from one position to another so fast. Can you beat him?The ProblemYour task is to write a progr...原创 2018-08-30 10:56:55 · 158 阅读 · 0 评论 -
POJ3984广搜
题目:定义一个二维数组:int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0,};它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能斜着走,要求编程序找出从左上角到右下角的最短路线。Input一...原创 2018-08-30 00:18:13 · 138 阅读 · 0 评论 -
POJ1321深搜
题目:在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一个n*n的矩阵内描述棋盘,以及摆放棋子的数目。 n <= 8 , k <...原创 2018-08-29 19:14:51 · 151 阅读 · 0 评论 -
POJ2243深搜
题目:A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a given set of n squares on a che...原创 2018-08-29 17:19:15 · 207 阅读 · 0 评论 -
POJ2488(深搜)
题目:BackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journeyaround the world. Whenever a knight moves, it is two squares in...原创 2018-08-29 12:38:06 · 320 阅读 · 0 评论 -
POJ3278广搜
题目:Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow is at a point K (0 ≤ K ≤ ...原创 2018-08-29 11:25:01 · 152 阅读 · 0 评论 -
POJ3009深搜
题目:On Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game is played on an ice game board on which a square mesh is...原创 2018-08-29 00:01:14 · 239 阅读 · 0 评论 -
POJ1562深搜
题目:The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid that divides...原创 2018-08-28 22:30:31 · 184 阅读 · 0 评论 -
POJ1111深搜
题目:Technicians in a pathology lab analyze digitized images of slides. Objects on a slide are selected for analysis by a mouse click on the object. The perimeter of the boundary of an object is one use...原创 2018-08-28 21:46:02 · 342 阅读 · 0 评论 -
POJ3104 烘衣服 二分
题目:It is very hard to wash and especially to dry clothes in winter. But Jane is a very smart girl. She is not afraid of this boring process. Jane has decided to use a radiator to make drying faster....转载 2018-08-17 22:48:46 · 414 阅读 · 0 评论 -
POJ3273 每月的花费 二分
题目:Farmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤ moneyi ≤ 10,000) t...原创 2018-08-17 22:44:23 · 180 阅读 · 0 评论 -
POJ3122 分派 二分
题目:My birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my party and eac...原创 2018-08-17 22:41:40 · 121 阅读 · 0 评论 -
POJ1979深搜
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles. But he can'...原创 2018-08-30 11:11:03 · 263 阅读 · 0 评论