摘要:
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 ... 阅读全文
摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
DescriptionIn Chinese Chess, there is one kind of powerful chessmen called Cannon. It can move horizontally or vertically along the chess grid. At ea... 阅读全文