摘要: Problem DescriptionBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are placed in these squares. Different square has a different type of pipe. There are 11 types of pipes, which is marked from A to K, as Figure 1 shows 阅读全文
posted @ 2013-05-14 14:52 欧阳生朵 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionA tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between nodes satisfying the following properties.There is exactly one node, called the root, to which no directed edges point.Every node e 阅读全文
posted @ 2013-05-14 10:52 欧阳生朵 阅读(218) 评论(0) 推荐(0) 编辑