摘要: 题目链接 最小圆覆盖 并不知道为什么是O(n)的,而且要随机化点的顺序 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio> 6 #include<s 阅读全文
posted @ 2016-03-10 20:57 HugeGun 阅读(264) 评论(0) 推荐(0)
摘要: 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio> 6 #include<string> 7 #include<cmath> 8 #include< 阅读全文
posted @ 2016-03-10 16:10 HugeGun 阅读(264) 评论(0) 推荐(0)
摘要: 题目链接 不知为什么我原来上传的题解不见了,整理的时候才发现QAQ??? 树状数组维护权值为0~k的有多少,先查询一条路径再更新树状数组 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring 阅读全文
posted @ 2016-03-10 11:21 HugeGun 阅读(173) 评论(0) 推荐(0)