摘要:
题意:给出n(n#include #include using namespace std;#define MAX_N 100005#define MAX_FACTOR 16int n, f[MAX_N];int count[MAX_N];int factor[MAX_FACTOR];int prime_fac_num[MAX_N];void input(){ for (int i = 0; i 1) factor[factor_cnt++] = a; for (int i = 1; i > j) > 0; j++) { if (... 阅读全文