随笔分类 - 筛
摘要:/************************************************* Author :Powatr* Created Time :2015-8-17 10:52:03* File Name :欧式筛法.cpp *****************...
阅读全文
摘要:http://poj.org/problem?id=2689/*区间筛法适用于L, R范围比较大,但是区间长度较小时套个模板然后取出最小最大就可以*//************************************************* Author :Powatr* C...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=5391/*求(n-1)!%n先打个表发现与素数有关,而且4特判,然后只要尽可能降低复杂度就行*//************************************************* Author ...
阅读全文
摘要:Mr. Hdu is interested in Greatest Common Divisor (GCD). He wants to find more and more interesting things about GCD. Today He comes up with Range Grea...
阅读全文