上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: 题目链接 我是DP弱者!!!我是DP弱者!!!我是DP弱者!!! 调了好久,数位DP好恼火QAQ 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio> 阅读全文
posted @ 2016-03-11 21:43 HugeGun 阅读(286) 评论(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-11 15:45 HugeGun 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 题目链接 最小圆覆盖 并不知道为什么是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 阅读(247) 评论(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 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 题目链接 不知为什么我原来上传的题解不见了,整理的时候才发现QAQ??? 树状数组维护权值为0~k的有多少,先查询一条路径再更新树状数组 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring 阅读全文
posted @ 2016-03-10 11:21 HugeGun 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 题目链接 根据回文串的左边、右边不相同,对于每个点把左边的翻过来,为了避免重复更新,记录当前更新到的右端点rr 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include< 阅读全文
posted @ 2016-03-09 22:41 HugeGun 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include 12 #include 13 #define rre(i,r,l) for(int i=(r);i>=(l)... 阅读全文
posted @ 2016-03-09 21:11 HugeGun 阅读(199) 评论(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-09 06:57 HugeGun 阅读(231) 评论(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-08 15:14 HugeGun 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 题目链接 第一次写高斯消元 注意考虑分母、分子为零的情况 1 #include<algorithm> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #include<cstdio> 6 #include<string> 阅读全文
posted @ 2016-03-08 08:52 HugeGun 阅读(191) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页