返回顶部
摘要: ```cpp include define ll long long define re register define gc get_char define cs const namespace IO{ inline char get_char(){ static cs int Rlen=1 in 阅读全文
posted @ 2019-10-27 16:21 Inko 阅读(116) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; const int MAXN = 3e5 + 51, MOD = 998244353, G = 3, INVG = 332748118; int exponent, fd, cnt = 阅读全文
posted @ 2019-10-27 16:16 Inko 阅读(129) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; const int MAXN = 100000 + 5; //MAXN = sqrt(MAXINPUTN) const ll MOD = 1000000007, inv2 = 5000 阅读全文
posted @ 2019-10-27 16:14 Inko 阅读(122) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; int solve(); int main() { ifdef Yinku freopen("Yinku.in","r",stdin); endif // Yinku solve(); 阅读全文
posted @ 2019-10-27 16:12 Inko 阅读(122) 评论(0) 推荐(0) 编辑
摘要: ```cpp include define ll long long using namespace std; //N为n^(2/3)最快 int n; const int MAXN=5e6; unordered_map Smu; unordered_map Sphi; ll sump[MAXN+5 阅读全文
posted @ 2019-10-27 16:09 Inko 阅读(88) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; int n, m; const int MAXN = 1000005; int tot, v[MAXN], l[MAXN], r[MAXN], d[MAXN]; int gc[MAXN 阅读全文
posted @ 2019-10-27 16:01 Inko 阅读(87) 评论(0) 推荐(0) 编辑
摘要: ```cpp include using namespace std; typedef long long ll; inline int read() { char c = getchar(); int x = 0, f = 1; while(c '9') { if(c == ' ') f = 1; 阅读全文
posted @ 2019-10-27 15:50 Inko 阅读(142) 评论(0) 推荐(0) 编辑