随笔分类 - 

摘要:/************************************************* Author :Powatr* Created Time :2015-8-17 10:52:03* File Name :欧式筛法.cpp *****************... 阅读全文
posted @ 2015-08-17 10:55 Painting、时光 阅读(351) 评论(0) 推荐(0) 编辑
摘要:http://poj.org/problem?id=2689/*区间筛法适用于L, R范围比较大,但是区间长度较小时套个模板然后取出最小最大就可以*//************************************************* Author :Powatr* C... 阅读全文
posted @ 2015-08-17 10:31 Painting、时光 阅读(291) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=5391/*求(n-1)!%n先打个表发现与素数有关,而且4特判,然后只要尽可能降低复杂度就行*//************************************************* Author ... 阅读全文
posted @ 2015-08-16 21:14 Painting、时光 阅读(159) 评论(0) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2015-08-01 15:38 Painting、时光 阅读(203) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示