2019 icpc yinchuan
spnooyseed
冲破大学的束缚,内心与实力并肩高升
展开
-
F.Function!
#include <bits/stdc++.h>#pragma GCC optimize(3 , "Ofast" , "inline")using namespace std;typedef long long ll ;const int INF = 0x3f3f3f3f , N = 1e5 + 10 ;const int mod = 998244353 ; void re...原创 2019-12-03 14:26:05 · 446 阅读 · 0 评论 -
D.Easy problem
莫比乌斯反演欧拉降幂#include <bits/stdc++.h>using namespace std;typedef long long ll ;const int mod = 59964251 ;const int N = 1e5 + 10 ;int prime[N] , vis[N] , mu[N] , tot , sum[N] ;ll qmi(ll a , ...原创 2019-12-02 20:28:16 · 127 阅读 · 0 评论 -
G.Pot
区间加 , 区间最值#include <bits/stdc++.h>#pragma GCC optimize(3 , "Ofast" , "inline")using namespace std;typedef long long ll ;const int INF = 0x3f3f3f3f , N = 1e5 + 10 ;void read(int &x){ ...原创 2019-12-02 17:42:35 · 293 阅读 · 0 评论