自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 hduoj 1213 并查集

#include <iostream> #include <cstdio> #include <cstring> #include <vector> #include <algorithm> #include <cmath> using namespace std; #define MAXN 1000+5 #define ...

2019-03-08 23:50:10 149

原创 hduoj 2066 最短路径 + 离散化节点 djkstra

#include <iostream> #include <cstdio> #include <cstring> #include <vector> #include <queue> #include <algorithm> #define MAXN 1000+5 #define INF (int)1e9+5 #defi...

2019-03-08 23:44:41 199

原创 hduoj 4081 并查集 次小生成树 kruscal算法

部分代码没有用,只是为了测试 vector都没有用到 #include <iostream> #include <cstdio> #include <cstring> #include <vector> #include <algorithm> #include <set> #define DEBUG 1 #def...

2019-03-08 23:42:26 187

原创 QT5.11 + OPENCV4.0 + cmake 配置

QT 5.11没有64位版本 OPENCV4.0 官网下载很慢 可以直接百度网盘搜索到处都有 首先安装QT 记得在最后将mingw勾中,如果想用其他的编译器也可以 opencv4.0下载后直接安装 然后用cmake编译 cmake编译可以详情看此篇博客 https://blog.csdn.net/qq_33308135/article/details/8504979...

2019-03-08 22:48:19 328

原创 hduoj 1874 bellman ford 包含负边的最短路径算法

https://www.cnblogs.com/gaochundong/p/bellman_ford_algorithm.html Bellman-Ford 算法是一种用于计算带权有向图中单源最短路径(SSSP:Single-Source Shortest Path)的算法。该算法由Richard Bellman 和 Lester Ford 分别发表于 1958 年和 1956...

2019-03-03 10:53:09 170

原创 hduoj 3790 djkstra 最短路径算法

#include <iostream> #include <cstdio> #include <cstring> #include <vector> #define MAXN 1000+5 #define INF (int)1e9+5 #define DEBUG 1 using namespace std; int G[MAXN][MAXN...

2019-03-02 11:11:40 192

原创 hduoj 1394 树状数组

#include <iostream> #include <cstdio> #include <cstring> using namespace std; #define N 5000+5 #define DEBUG 1 int C[N] = {0}; int A[N] = {0}; int lowbit(int x){ return x&am...

2019-02-25 20:48:08 105

空空如也

空空如也

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

TA关注的人

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