自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 排序算法模板

#include<cstdio> #include<ctime> #include<windows.h> #include<cstring> #include<algorithm> #include<queue> #define print(ovo, a, b) for(int qwq = (a); qwq <= (b)...

2018-10-17 09:05:08 135

原创 gcd&&扩展欧几里得

#include<cstdio> #define abs(x) (x) > 0 ? (x) : -(x) #define min(a, b) (a) < (b) ? (a) : (b) //O(log(a+b)) int gcd(int a, int b) {return !b ? a : gcd(b, a % b);} int qgcd(int a, int b) ...

2018-10-17 08:55:35 140

原创 读入优化&&输出优化

#include<cstdio> int isdigit[300]; void read(int &x) { int f = 1; x = 0; char s = getchar(); while(!isdigit[s]) {if(x == '-') f = -1; s = getchar();} while(isdigit[s]) {x = x*10 + s-'0';...

2018-10-17 08:52:24 166

原创 树状数组模板

#include<cstdio> #define lowbit(x) (x) & -(x) const int maxn = 7000; int tree_array[maxn], tree_2array[maxn][maxn]; //点修改O(log n) 区间查询O(log n) //下标不能为零 //------------------------------------...

2018-10-17 08:46:38 161

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除