HDU 6428 - Calculate (线性筛+莫比乌斯反演)
题解有空补……
#include<bits/stdc++.h>
#define N 10000005
using namespace std;
typedef long long ll;
int const MOD = 1 << 30;
bool vis[N];
int p[N],mu[N],cnt,phi[N];
int b[N],c[N],d[N];
ll sum...
原创
2018-08-24 20:25:17 ·
442 阅读 ·
0 评论