自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 问答 (1)
  • 收藏
  • 关注

原创 快排

快排 quicksort 假如国家有几块地 分别是草原,平原,山地,雪地,湖泊,海洋,沙漠,沼泽 易用性分别是30,20,10,40,70,60,80,50 那么快排 先选50作为pivot 30比50小,但30是目前最小的 20一样,和30换位置 那么就成了20,30,10,40,70,60,80,50 10一样 成立10,30,20,40,70,60,80,50 40在原位子上,后面三个不管 ...

2019-02-16 21:51:27 96

转载 家园太空营救,又是死循环23333

#include<stdio.h> #include<algorithm> using namespace std; const int inf=0x3f3f3f3f,M=100005; int n,m,k,s,t,cnt=0,ans,maxx; int fa[100],peo[100],g[100][100],num[100];//这里不开这么大第二个点会RE,不知道为...

2018-12-22 13:28:17 135

转载 错误的餐巾纸计划

#include<stdio.h> #include<queue> #include<algorithm> #include<math.h> #include<string.h> #include<map> using namespace std; int head[100],cnt=0,maxn=1000,vis[10...

2018-12-22 11:26:20 179

转载 网络流圆桌

#include<stdio.h> #include<algorithm> #include<utility> using namespace std; const int maxn=155; const int maxm=275; int n,m; pair<int,int> a[maxn],b[maxm]; vector<int> ...

2018-12-20 15:47:34 96

原创 网络流子序列EK

#include<stdio.h> #include<queue> #include<algorithm> #include<string.h> #include<vector> #define nn 1005 #define INF 0x3f3f3f using namespace std; int n,m,f[nn][nn],te...

2018-12-17 12:45:55 108

原创 我的hdu2833

#include <iostream> using namespace std; const int inf=200000000; int s[305][305];//记录最短路的长度 int num[305][305];//同样长度的最短路的最长的跳数 int main() { int n, m, i, j, k, a, b, c, d, ans, start, end,...

2018-12-09 10:13:09 98

空空如也

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

TA关注的人

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