摘要:
On a grid map there are n little men and n houses. In each unit time, every little man can move one unit step, either horizontally, or vertically, to 阅读全文
posted @ 2018-08-03 21:31
Fitz~
阅读(442)
评论(0)
推荐(0)
摘要:
frog has a piece of paper divided into n rows and m columns. Today, she would like to draw a rectangle whose perimeter is not greater than k. There ar 阅读全文
posted @ 2018-08-03 20:19
Fitz~
阅读(249)
评论(0)
推荐(0)
摘要:
Description Rain has pummeled the cows' field, a rectangular grid of R rows and C columns (1 <= R <= 50, 1 <= C <= 50). While good for the grass, the 阅读全文
posted @ 2018-08-03 18:58
Fitz~
阅读(234)
评论(0)
推荐(0)
摘要:
Description Running a taxi station is not all that simple. Apart from the obvious demand for a centralised coordination of the cabs in order to pick u 阅读全文
posted @ 2018-08-03 18:56
Fitz~
阅读(242)
评论(0)
推荐(0)
摘要:
In modern society, each person has his own friends. Since all the people are very busy, they communicate with each other only by phone. You can assume 阅读全文
posted @ 2018-08-03 18:54
Fitz~
阅读(176)
评论(0)
推荐(0)
摘要:
CIA headquarter collects data from across the country through its classified network. They have been usingoptical fibres long before it's been deploye 阅读全文
posted @ 2018-08-03 18:51
Fitz~
阅读(137)
评论(0)
推荐(0)
摘要:
Description FJ has moved his K (1 <= K <= 30) milking machines out into the cow pastures among the C (1 <= C <= 200) cows. A set of paths of various l 阅读全文
posted @ 2018-08-03 18:48
Fitz~
阅读(364)
评论(0)
推荐(0)
摘要:
Desert King Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 23729 Accepted: 6631 Description David the Great has just become the king of a 阅读全文
posted @ 2018-08-03 18:43
Fitz~
阅读(157)
评论(0)
推荐(0)
摘要:
Sightseeing Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 9247 Accepted: 3242 Description Tour operator Your Personal Holiday organises g 阅读全文
posted @ 2018-08-03 18:39
Fitz~
阅读(148)
评论(0)
推荐(0)
摘要:
Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we 阅读全文
posted @ 2018-08-03 18:34
Fitz~
阅读(106)
评论(0)
推荐(0)