摘要: 题意:给出n, m, p,求有多少对a, b满足gcd(a, b)的素因子个数<=p,(其中1<=a<=n, 1<=b<=m) 有Q组数据;(n, m, P <= 5×105. Q <=5000). 参考:ACdreamers 思路:对于hdu1695 GCD来说,由于只需要求gcd = k的个数, 阅读全文
posted @ 2016-03-16 17:05 hxer 阅读(212) 评论(0) 推荐(0) 编辑