随笔分类 - 图论---LCA
摘要:After the long vacation, the maze designer master has to do his job. A tour company gives him a map which is a rectangle. The map consists of N \times
阅读全文
摘要:Traffic Network in NumazuTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 677...
阅读全文
摘要:Yixght is a manager of the company called SzqNetwork(SN). Now she's very worried because she has just received a bad news which denote...
阅读全文
摘要:There are N cities in a country, and there is one and only one simple path between each pair of cities. A merchant has chosen some pat...
阅读全文
摘要:Pog and Szh are playing games. Firstly Pog draw a tree on the paper. Here we define 1 as the root of the tree.Then Szh choose some nod...
阅读全文