自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小堃哥的专栏

写博客:网址链接+名称:oj名+所用算法名称+该题注意事项和心得

  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 自带的inplace_merge的归并排序模版

//归并排序模板。记得和快排一块对着看。#include#include#include#include#include#include#include#include#define LL long long#define inf 0x3f3f3f3f#define mod 1e9+7const int maxn=1e5+5;using namespace std;in

2017-12-07 22:43:50 495

原创 百练+重要逆序对归并排序,记得要有标记来减少循环扫描

点击打开链接#include#include#include#include#include#include#include#include#define inf 0x3f3f3f3f#define LL long longusing namespace std;int N=0;const int maxn=2e5+5;LL Arr[maxn]={0},temp[maxn

2017-12-07 22:17:39 353

原创 百练+网络流Dinic模版,EK空间使用不够了

点击打开链接#include #include #include #include #include #include #include #define inf 0x3f3f3f3f#pragma comment(linker, "/STACK:102400000,102400000")using namespace std;const int maxn= 20005;con

2017-12-07 10:33:15 152

原创 百练+EK算法模版+网络流邻接表形式

点击打开链接//在于建图#include #include #include #include #include #include #include #include #include #include #include #define LL long long#define inf 0x3f3f3f3f#define mod 1e9+7using namespace

2017-12-07 10:28:00 319

原创 最大流+EK算法在于建图

点击打开链接//建立一个超级源点和一个超级汇点,将cows与超级源点相连,容量为1//stalls与汇点连接,容量为1,然后cows与stalls连接,容量为1//求出最大流即可。// main.cpp// test// Created by 吴有堃 on 2017/9/11// Copyright © 2017年 吴有堃. All rights reserved#inclu

2017-12-07 10:23:26 161

原创 百练+最大流+EK算法模版

点击打开链接//把n m弄反了,是n条边, m个顶点。// main.cpp// test// Created by 吴有堃 on 2017/9/11// Copyright © 2017年 吴有堃. All rights reserved#include #include #include #include #include #include #include #

2017-12-07 10:21:33 152

原创 区间DP+石子合并的变相题目

点击打开链接// main.cpp// test// Created by 吴有堃 on 2017/9/11.// Copyright © 2017年 吴有堃. All rights reserved.#include #include #include #include #include #include #include #include #include #

2017-12-07 10:20:10 169

原创 百练+floyd对角求负环

点击打开链接//使用floyd来求解负环// main.cpp// test// Created by 吴有堃 on 2017/9/11.// Copyright © 2017年 吴有堃. All rights reserved./*void Floyd(){ int i,j,k; for(k=1;k<=n;k++) for(i=1;i<=n;

2017-12-07 10:18:35 245

c语言版贪吃蛇

很好的一个源代码,相当不错

2014-01-24

空空如也

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

TA关注的人

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