自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

JSure的代码库

唯苦修深思方能顿悟

  • 博客(19)
  • 资源 (9)
  • 收藏
  • 关注

原创 【匈牙利算法】匈牙利模板dfs、bfs

匈牙利模板 dfs、bfs

2014-10-31 17:22:33 1610 1

原创 【二分图|最大匹配】ZOJ-1654 Place the Robots

Place the RobotsTime Limit: 5 Seconds      Memory Limit: 32768 KBRobert is a famous engineer. One day he was given a task by his boss. The background of the task was the following:Gi

2014-10-31 17:20:31 681

转载 【二分图|最小点覆盖集】König定理及其证明

二分图最大匹配的König定理及其证明    如果你看不清楚第二个字母,下面有一个大号字体版本:二分图最大匹配的König定理及其证明    本文将是这一系列里最短的一篇,因为我只打算把König定理证了,其它的废话一概没有。    以下五个问题我可能会在以后的文章里说,如果你现在很想知道的话,网上去找找答案:    1. 什么是二分图;    2. 什么是二分

2014-10-30 22:21:50 1037

原创 【费用流消圈】POJ-2175 Evacuation Plan

Evacuation PlanTime Limit: 1000MS Memory Limit: 65536K    Special JudgeDescriptionThe City has a number of municipal buildings and a number of fallout shelter

2014-10-27 19:59:30 895

原创 【高精度乘法模板】AOJ-406 Multiplication

MultiplicationTime Limit: 1000 ms   Case Time Limit: 1000 ms   Memory Limit: 64 MBDescriptionTo calculate the result of two numbers by multiply themInputThe input consists

2014-10-26 11:54:45 764

原创 【最小费用最大流】POJ-2516 Minimum Cost

Minimum CostTime Limit: 4000MS Memory Limit: 65536K   DescriptionDearboy, a goods victualer, now comes to a big problem, and he needs your help. In his sale are

2014-10-25 21:58:43 855

转载 HostTool

转自:zhutianlong国内IT开发者都会面临访问google等国外网站不稳定的问题,这些问题一方面可以通过番墙来解决,也可以通过修改本机hosts文件来解决。之前在Windows上一直使用HostsTool这个国人的修改hosts文件软件,切换到Ubuntu环境自然也首先想到这个工具。Ubuntu安装方法如下:1、下载最新版HostsTool for linux

2014-10-24 16:23:17 1565

原创 【最小费用最大流】POJ-2195 Going Home

Going HomeTime Limit: 1000MS Memory Limit: 65536K   DescriptionOn a grid map there are n little men and n houses. In each unit time, every little man can move one

2014-10-24 16:14:05 685

原创 【线性规划+最小费用最大流】Vijos-1825 志愿者招募

P1825志愿者招募Accepted标签:NOI2008描述申奥成功后,布布经过不懈努力,终于成为奥组委下属公司人力资源部门的主管。布布刚上任就遇到了一个难题:为即将启动的奥运新项目招募一批短期志愿者。经过估算,这个项目需要N 天才能完成,其中第i 天至少需要Ai 个人。布布通过了解得知,一共有M 类志愿者可以

2014-10-23 18:27:03 1049

原创 【有上下界最大费用可行流】HDU-4862 Jump

JumpTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 930    Accepted Submission(s): 377Problem DescriptionThere are n*m grids,

2014-10-20 16:17:45 1169

原创 【最大费用最大流】POJ-3422 Kaka's Matrix Travels

Kaka's Matrix TravelsTime Limit: 1000MS Memory Limit: 65536K   DescriptionOn an N × N chessboard with a non-negative number in each grid, Kaka starts his matrix t

2014-10-18 20:31:01 1067

原创 费用流模板 spfa+EK

const int N = 1000, M = 1e5;struct Node { int u, v, w, c; int next;}edge[M];int pre[N], path[N], dis[N];bool inq[N];bool spfa(int S, int T, int n){ int u; for(int i = 0; i < n ; i++) { in

2014-10-17 21:55:13 833

转载 【有上下界的网络流】

转自相对于一般的网络流,有上下界的网络流的某些边多出了流量下界的限制,如边u->v,上下界为high、low,如果有流经过这条边,这个流必须在[low,high]这个区间内。这类题目主要要求解决下面三个问题,“有源汇、无源汇的可行流”、“有源汇的最大流”、“有源汇的最小流”,注意这里所说的源汇是原网络中的源汇,分别记为s、t。  这类题目的难点在于下界的限制很难处理,我们将所有有下

2014-10-17 15:11:07 615

原创 【有源汇有上下界最大流】ZOJ-3229 Shoot the Bullet

Shoot the BulletTime Limit: 2 Seconds      Memory Limit: 32768 KB      Special JudgeGensokyo is a world which exists quietly beside ours, separated by a mystical border. It is a utopia where h

2014-10-16 22:34:05 885

原创 【有源汇有上下界最小流】SGU-176 Flow constructions

176. Flow constructiontime limit per test: 0.5 sec.memory limit per test: 4096 KBinput: standardoutput: standardYou have given the net consisting of nodes and pipes; pipes conn

2014-10-14 17:12:30 776

原创 【有源汇有上下界可行流】POJ-2396(ZOJ-1994) Budget

BudgetTime Limit: 3000MS Memory Limit: 62M    Special JudgeDescriptionWe are supposed to make a budget proposal for this multi-site competition. The budget pr

2014-10-12 16:22:25 762

原创 【无源汇有上下界可行流】ZOJ-2314 Reactor Cooling

Reactor CoolingTime Limit: 5 Seconds      Memory Limit: 32768 KB      Special JudgeThe terrorist group leaded by a well known international terrorist Ben Bladen is buliding a nuclear reactor t

2014-10-11 23:33:44 789

原创 【最大流】ZOJ-2788 Panic Room

Panic RoomTime Limit: 2 Seconds      Memory Limit: 65536 KBIntroductionYou are the lead programmer for the Securitron 9042, the latest and greatest in home security software from Jellern Inc

2014-10-10 16:14:52 755

原创 【最小割+判定唯一性】ZOJ-2587 Unique Attack

Unique AttackTime Limit: 5 Seconds      Memory Limit: 32768 KBN supercomputers in the United States of Antarctica are connected into a network. A network has a simple topology: M different pai

2014-10-09 21:42:14 1384

wxPython in Action 活学活用wxPython

活学活用wxPython pdf版,有1-18章 有图

2017-05-15

完全版线段树

因为胡大大的博客无法登陆,百度文库需要积分,所以在此分享,供ACMer学习使用。

2014-08-23

vim的c.vim和cpp.vim文件

vim的c.vim和cpp.vim文件,替换之后可以高亮显示函数名称,包括STL里的类型名和函数名

2014-08-12

KWplayer_for_linux

用起来很厉害的Kuwo,支持电台 歌词 搜索 收藏 MV等等

2014-08-08

背包九讲【最新版】——a.k.a. dd_engi

崔添翼——dd大牛的最新版背包九讲。关键是新版,对以前做了不少改进,而且是PDF。

2014-05-07

ACM模板大全【必备】

吉大ACM模板;上海交大ACM模板;浙大ACM模板;中山大学ACM模板;常用代码;经典代码;数论模板;比赛模板;几何;结构;数论;图论;应用;组合

2014-04-24

Code::Blocks13.12 汉化+多方案主题(代码高亮)+智能缩进

原来自百贴吧 天魔666 在此分享。利用Cblauncher.exe而非codeblocks打开代码方有上述效果。

2014-04-20

空空如也

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

TA关注的人

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