思路:欧拉筛+求欧拉函数的公式
#include<iostream>
using namespace std;
typedef long long ll;
const int N = 1e6 + 10;
int prime[N], cnt;
int oulr[N];
int n;
ll ans;
bool st[N];
ll
思路:欧拉筛+求欧拉函数的公式
#include<iostream>
using namespace std;
typedef long long ll;
const int N = 1e6 + 10;
int prime[N], cnt;
int oulr[N];
int n;
ll ans;
bool st[N];
ll