01 2019 档案

字典树
摘要:#include using namespace std; #define IO ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0) const int maxnode=700000+5; const int sigma_size=26; const int mod=20071027; char tmp[200+5]; char st[... 阅读全文

posted @ 2019-01-24 23:35 欣崽 阅读(179) 评论(0) 推荐(0)

ST表
摘要://ST表#include #define IO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0) //#define int long long using namespace std; const int maxn=100000+5; int d[maxn][32]; void RMQ_init(int *A,int n) { f... 阅读全文

posted @ 2019-01-24 12:11 欣崽 阅读(204) 评论(0) 推荐(0)

树状数组
摘要:uvalive4329 阅读全文

posted @ 2019-01-24 11:31 欣崽 阅读(180) 评论(0) 推荐(0)

导航