自定义博客皮肤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)
  • 资源 (9)
  • 收藏
  • 关注

原创 Push-Relabel算法

Ford-Fulkerson方法还比较好理解即每一次尝试都需要在剩余图里找到一条增强路径。让整个图的流量最大化。Algorithm Operation(s)Residual GraphInitialize the residual graph by setting the preflow to values 0 and initializing th

2015-06-17 21:18:19 4791

原创 1033. 旧键盘打字(20)

int main(){ //freopen("d://1.txt", "r", stdin); //freopen("d://2.txt", "w", stdout); string n, m; //while (cin >> n >> m) //{ while (getline(cin, n))//用getline才能确保每行读进去 { getline(cin, m);

2015-06-17 19:32:02 1367

原创 1032. 挖掘机技术哪家强(20)

int main(){ //freopen("d://1.txt", "r", stdin); //freopen("d://2.txt", "w", stdout); int n, m; long long int aa[100000] = { 0 }; while (cin >> n) { priority_queue temp; for (int i = 0; i <

2015-06-17 18:58:06 1487

原创 1029. 旧键盘(20)

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include #include #include #include #include using namespace std;struct node{ string name; string date;};int main(){ freopen

2015-06-17 14:35:35 1350

原创 1025. 反转链表 (25)

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include #include #include using namespace std;int main(){ freopen("d://1.txt", "r", stdin); freopen("d://2.txt", "w", stdout);

2015-06-17 14:10:13 526

原创 1028. 人口普查(20)

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include #include #include #include using namespace std;struct node{ string name; string date;};int main(){ //freopen("d://1.

2015-06-17 14:08:32 517

原创 算法竞赛入门经典--紫书6.3.1小球下落

每个小球都会落在根节点上,因此前两个小球必然是一个在左子树,一个在右子树。一般地,只需看小球编号的奇偶性,就能知道它是最终在哪棵子树中。对于那些落入根节点 左子树的小球来说,只需知道该小球是第几个落在根的左子树里的,既可以知道它下一步往左还是往右了。以此类推,直到小球落到叶子上。如果使用题目中给出的编号n,则当I是奇数时,它是往左走的第(n+1)/2个小球;当I是偶数时,它是往右走的对n/

2015-04-27 16:49:42 814

Leetcode题目分类和解法总结Xmind(2)

Leetcode题目分类和解法总结Xmind。Leetcode题目分类和解法总结Xmind。

2017-10-27

Leetcode题目分类和解法总结Xmind

Leetcode题目分类和解法总结Xmind。Leetcode题目分类和解法总结Xmind。

2017-10-27

Leetcode代码以及解答(2)

包含自己的学习和完成过程中的思考和对标准解答的理解。

2017-10-27

Leetcode代码以及解答(1)

包含自己的学习和完成过程中的思考和对标准解答的理解。

2017-10-27

微软美国面试算法题集锦

墙外的微软总部面试算法题目集锦,有需要的朋友可以下载了看看。

2017-10-27

云平台cloud

关于云计算中的云平台的内容

2014-12-13

空空如也

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

TA关注的人

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