随笔分类 - ACM——树链剖分
摘要:Apple Tree Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 30636 Accepted: 9162 Description There is an apple tree outside of kaka's house.
阅读全文
摘要:QTREE - Query on a tree #tree #tree You are given a tree (an acyclic undirected connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. We wi
阅读全文