This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
typedef long long LL; | |
const int MAX = 10000001; | |
const int MOD = 1e9 + 7; | |
#define inchar getchar_unlocked | |
#define outchar(x) putchar_unlocked(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
typedef long long LL; | |
const int MAX = 5e5 + 5; | |
const int MAX2 = 1e6 + 6; | |
const int MOD = 1e9 + 7; | |
int phi[MAX]; |
NewerOlder