高精度模板
摘要:高精度模板 #include<iostream> #include<cmath> #include<string> #include<deque> #include<cstring> #include<algorithm> #include<sstream> #include<queue> #inc
阅读全文
posted @
2022-02-22 21:48
naiji
阅读(22)
推荐(0) 编辑
st表
摘要:st表 int st[100000][20];//从第i个数往后2^k个数的情况 for(int k=1;k<=20;k++) { for(int i=1;(i+(1<<k)-1)<=n;i++) { st[i][k]=st[i][k-1]+st[i+(1<<(k-1))][k-1] } } int
阅读全文
posted @
2022-02-21 14:19
naiji
阅读(12)
推荐(0) 编辑