无谓的味道

导航

2015年10月3日 #

poj 2488 A Knight's Journey(DFS)

摘要: DescriptionBackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journeyaround th... 阅读全文

posted @ 2015-10-03 16:12 无谓的味道 阅读(134) 评论(0) 推荐(0) 编辑

2015年10月2日 #

poj 1426 Find The Multiple

摘要: DescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 a... 阅读全文

posted @ 2015-10-02 14:44 无谓的味道 阅读(153) 评论(0) 推荐(0) 编辑

2015年10月1日 #

poj 1094 Sorting It All Out 拓补排序

摘要: DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smalle... 阅读全文

posted @ 2015-10-01 16:48 无谓的味道 阅读(166) 评论(0) 推荐(0) 编辑

poj 1068 Parencodings 模拟题

摘要: DescriptionLet S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways:q By an integer sequence P = p1 p2...pn ... 阅读全文

posted @ 2015-10-01 10:13 无谓的味道 阅读(144) 评论(0) 推荐(0) 编辑

2015年9月30日 #

poj 1328 Radar Installation(贪心+快排)

摘要: DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating ... 阅读全文

posted @ 2015-09-30 19:13 无谓的味道 阅读(142) 评论(0) 推荐(0) 编辑

2015年9月28日 #

poj 3278 Catch That Cow(bfs+队列)

摘要: DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a pointN(0 ≤N≤ 100,000) on... 阅读全文

posted @ 2015-09-28 16:06 无谓的味道 阅读(145) 评论(0) 推荐(0) 编辑

2015年9月27日 #

poj 1265 Area(Pick定理)

摘要: DescriptionBeing well known for its highly innovative products, Merck would definitely be a good target for industrial espionage. To protect its brand... 阅读全文

posted @ 2015-09-27 09:37 无谓的味道 阅读(168) 评论(0) 推荐(0) 编辑

2015年9月26日 #

poj 2388 Who's in the Middle

摘要: DescriptionFJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as muc... 阅读全文

posted @ 2015-09-26 16:00 无谓的味道 阅读(152) 评论(0) 推荐(0) 编辑

poj 3026 Borg Maze(bfs+prim)

摘要: Borg MazeTime Limit:1000MSMemory Limit:65536KTotal Submissions:10810Accepted:3574DescriptionThe Borg is an immensely powerful race of enhanced humanoi... 阅读全文

posted @ 2015-09-26 15:46 无谓的味道 阅读(134) 评论(0) 推荐(0) 编辑

2015年9月25日 #

poj 2485 Highways

摘要: HighwaysTime Limit:1000MSMemory Limit:65536KTotal Submissions:26150Accepted:11932DescriptionThe island nation of Flatopia is perfectly flat. Unfortuna... 阅读全文

posted @ 2015-09-25 15:38 无谓的味道 阅读(113) 评论(0) 推荐(0) 编辑