2014年8月9日
摘要: Heavy-Light Decomposition有图有真相:http://blog.sina.com.cn/s/blog_a19ad7a10102uz6f.html375. Query on a treehttp://www.spoj.com/problems/QTREE/ 1 #include... 阅读全文
posted @ 2014-08-09 14:01 gaolzzxin 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2014-08-09 09:08 gaolzzxin 阅读(166) 评论(0) 推荐(0) 编辑