摘要: DescriptionMachines have once again attacked the kingdom of Xions. The kingdom of Xions has N cities and N-1 bidirectional roads. The road network is ... 阅读全文
posted @ 2015-11-29 18:08 Wei_java 阅读(250) 评论(0) 推荐(0) 编辑
摘要: DescriptionSuppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a ... 阅读全文
posted @ 2015-11-29 18:07 Wei_java 阅读(299) 评论(0) 推荐(0) 编辑
摘要: DescriptionAfter coding so many days,Mr Acmer wants to have a good rest.So travelling is the best choice!He has decided to visit n cities(he insists o... 阅读全文
posted @ 2015-11-29 17:42 Wei_java 阅读(256) 评论(0) 推荐(0) 编辑
摘要: DescriptionIn Chinese Chess, there is one kind of powerful chessmen called Cannon. It can move horizontally or vertically along the chess grid. At ea... 阅读全文
posted @ 2015-11-29 17:41 Wei_java 阅读(418) 评论(0) 推荐(0) 编辑