/* Reconstruction */ /*@mixin border($position){ @if $position == left-right or $position == right-left{ border-left: 1px solid $border-color; border-
分类:
其他好文 时间:
2016-03-21 12:04:26
阅读次数:
156
I’ll demonstrate how to relocate a tablespace directory without the reconstruction of databases. I have a tablespace tblspc located at /home/postgres/
分类:
其他好文 时间:
2016-02-19 00:17:51
阅读次数:
179
这题目测是数据水了。我这种暴力写法显然是可以卡超时的。 假设有2000个点,15000条边,前面10000条不能构成树,后面5000条可以,这种数据显然可以卡超时。 #include <stdio.h> #include <algorithm> #include <string.h> #includ
分类:
其他好文 时间:
2016-02-14 15:26:28
阅读次数:
162
Ikki's Story I - Road Reconstruction 题意:有N个顶点和M条边N, M (N ≤ 500, M ≤ 5,000) ,试图改变图中的一条边使得从0到N-1的流量增加;问这样的边有几条? 思路:刚最大流入门,之后一看就觉得满流的边就是答案。。真是太天真了。之后看了题解
分类:
其他好文 时间:
2016-02-12 23:20:25
阅读次数:
381
题目链接:点击打开链接
题意:n个城市, m条可以修建的路, 修每条路有一个费用, 要求修建路将n个城市全部联通,并且最大费用减去最小费用最小。
思路:枚举最小边, 然后重新求一遍最小生成树,复杂度m^2, 出的数据水了, 左边BC水过了。。
细节参见代码:
#include
#include
#include
#include
#include
#include
#include
#in...
分类:
其他好文 时间:
2016-02-07 13:38:48
阅读次数:
209
dental CT image reconstruction Left Image : the original reconstruction data Right Image : the processed reconstruction data
分类:
其他好文 时间:
2016-02-04 10:36:23
阅读次数:
137
CT Reconstruction with diffenent filter kernels to all of the reconstructed volume data, Mean value are the same standard deviration are descended
分类:
其他好文 时间:
2016-02-04 10:36:17
阅读次数:
112
题意: 给定一个树的BFS和DFS,求这棵树。分析: 拿dfs的序列,分成若干段,每一段相当一个子树,这样就可以利用bfs的序列去将dfs的序列分段,然后利用一个队列去存放每一段,不断求出子树即可。代码: #include #include #include #include #include...
分类:
其他好文 时间:
2015-10-18 19:56:52
阅读次数:
225
求一次最大流后,分别对所有满流的边的容量+1,然后看是否存在增广路。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 #define INF (1 que; 31 que.push(vt);...
分类:
其他好文 时间:
2015-10-02 11:11:45
阅读次数:
214
UVa10410 Tree Reconstruction算法:根据BFS构造pos数组以区分关系,在此基础上对DFS序列操作。注:栈中存父结点,栈顶是最优先的父结点。代码如下: 1 #include 2 #include 3 #include 4 #define FOR(a,b,c) for(int...
分类:
其他好文 时间:
2015-08-04 17:09:33
阅读次数:
117