摘要:
Heavy-Light Decomposition有图有真相:http://blog.sina.com.cn/s/blog_a19ad7a10102uz6f.html375. Query on a treehttp://www.spoj.com/problems/QTREE/ 1 #include... 阅读全文
摘要:
A. Laptopshttp://codeforces.com/contest/456/problem/A 1 #include 2 #include 3 using namespace std; 4 const int M=100010; 5 struct G{ 6 int x,y; 7 ... 阅读全文