
数学+思维
文章平均质量分 91
axuhongbo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Gym 101612L Little Difference
Gym 101612L Little Difference 题解原创 2017-11-18 19:54:24 · 899 阅读 · 0 评论 -
2017ccpc哈尔滨 hdu 6231 B k-th number 题解 二分答案+尺取法
2017ccpc哈尔滨,hdu6231题解,二分+尺取原创 2017-11-15 15:54:37 · 1098 阅读 · 0 评论 -
Great cells
Great cells原创 2017-12-13 17:04:57 · 343 阅读 · 0 评论 -
hdu6239 Interview 期望+拉格朗日插值法|生成函数 推公式
hdu6239 Interview 期望+拉格朗日插值法|生成函数 推公式原创 2017-12-01 11:25:58 · 1611 阅读 · 0 评论 -
SDUT 2018 Winter Individual Contest - 3
题目链接 * G 记忆化搜索 题目的意思: 给你两个数组a,b 让a,b两个数组按其原序进行组合,问能否组合成为c数组。 我们可以试着用搜索的方式进行处理,但是由于数据较大,而且在处理的过程中,有重叠的状态,所以我们需要用到记忆话,对于原先有的状态之后的搜索,我们不去在重复,这样就节省了很多的时间。 #include #include using namespace std; int原创 2018-01-23 10:27:45 · 650 阅读 · 0 评论 -
[HackerRank-pairs-again] Satisfactory Pairs
题目链接 找出符合题目要求的a b 的个数(a 使得对于任意x,y每个a,b数对至少有一个解 #include #include #include #include #include #include using namespace std; vectorint>o[310000]; int n; const int maxn =310000; int vis[maxn]; int m原创 2018-01-25 15:31:58 · 283 阅读 · 0 评论 -
Xor Sum AtCoder - 2272 dp 转移方程
参考博客 题目链接 题解 建议翻译成英文看 You are given a positive integer N. Find the number of the pairs of integers u and v (0≦u,v≦N) such that there exist two non-negative integers a and b satisfying a xor b=u and原创 2018-01-26 10:36:34 · 823 阅读 · 2 评论 -
莫比乌斯反演--汇总学习博客
学习博客: 学习博客1 ppt 带示例的博客2 博客3 入门题:HDU1695 题解1 优化根号n版 GCD Given 5 integers: a, b, c, d, k, you’re to find x in a…b, y in c…d that GCD(x, y) = k. GCD(x, y) means the greatest common divisor of x原创 2018-01-28 18:12:06 · 281 阅读 · 0 评论