摘要: 给出一个整数集,其中包含1-n的所有整数,要求挑选出一个元素最多的子集,使得子集中任意两数的乘积不是完全平方数 (n<=10^6) 求这样一个最大子集的元素个数 #include <cstdio> #include <cstring> #include <cmath> const int N = 1 阅读全文
posted @ 2015-03-04 13:02 我不吃饼干呀 阅读(196) 评论(0) 推荐(0) 编辑