摘要: DescriptionYou, as a member of a development team for a new spell checking program, are to write a module that will check the correctness of given words using a known dictionary of all correct words in all their forms.If the word is absent in the dictionary then it can be replaced by correct words ( 阅读全文
posted @ 2013-04-08 20:27 Tamara.c 阅读(194) 评论(0) 推荐(0) 编辑
摘要: DescriptionA power network consists of nodes (power stations, consumers and dispatchers) connected by power transport lines. A node u may be supplied with an amount s(u) >= 0 of power, may produce an amount 0 <= p(u) <= pmax(u) of power, may consume an amount 0 <= c(u) <= min(s(u),cma 阅读全文
posted @ 2013-04-08 20:14 Tamara.c 阅读(176) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe Global Aerial Research Centre has been allotted the task of building the fifth generation of mobile phone nets in Sweden. The most striking reason why they got the job, is their discovery of a new, highly noise resistant, antenna. It is called 4DAir, and comes in four types. Each type 阅读全文
posted @ 2013-04-08 20:08 Tamara.c 阅读(126) 评论(0) 推荐(0) 编辑
摘要: DescriptionBessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains K asteroids (1 <= K <= 10,000), which are conveniently located at the lattice points of the grid.Fortunately, Bessie has a powerful weapon 阅读全文
posted @ 2013-04-08 20:01 Tamara.c 阅读(144) 评论(0) 推荐(0) 编辑