http://mp.weixin.qq.com/s?__biz=MjM5OTk4NDc2NQ==&mid=210508790&idx=1&sn=d8a9d85c912e27834cdb7ddb968b7af0#rd 如何实现自顶向下的设计呢?这边举了个简单的例子,有兴趣的朋友可以点开链接看下,因为微信图片...
                            
                            
                                分类:
其他好文   时间:
2015-07-28 13:17:56   
                                阅读次数:
129
                             
                    
                        
                            
                            
                                hdu 2544Dijkstra#include #include #include #include using namespace std;#define maxn 110#define inf 0x3f3f3f3f3fstruct Edge{ int from,to,dist;}M...
                            
                            
                                分类:
其他好文   时间:
2015-07-28 12:40:34   
                                阅读次数:
118
                             
                    
                        
                            
                            
                                很多图论的算法都有一个函数struct Edge { int to; int w; int next;} edge[N * 2];int cnt_edge = 0;void add_edge(int from, int to, int w){ edge[cnt_edge].t...
                            
                            
                                分类:
编程语言   时间:
2015-07-27 20:41:22   
                                阅读次数:
151
                             
                    
                        
                            
                            
                                1 solid edge简介   来自simense公司的solid edge是一个功能强大的三维计算机辅助设计(cad)软件。solid edge是为机械设计量安定制的cad系统,从零件设计、装配体设计到工程制图,各种功能无所不在。装配造型无...
                            
                            
                                分类:
其他好文   时间:
2015-07-27 11:18:57   
                                阅读次数:
191
                             
                    
                        
                            
                            
                                < meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" /> 如果支持Google Chrome Frame:GCF,则使用GCF渲染 如果使用的是IE8或者以上版本,则使用最高版本IE渲染 否则,这个设定可以忽略。 X-UA-C...
                            
                            
                                分类:
Web程序   时间:
2015-07-26 17:39:21   
                                阅读次数:
218
                             
                    
                        
                            
                            
                                Problem Description
Soda has a bipartite graph with n vertices
 and m undirected
 edges. Now he wants to make the graph become a complete bipartite graph with most edges by adding some extra edge...
                            
                            
                                分类:
其他好文   时间:
2015-07-26 12:45:12   
                                阅读次数:
191
                             
                    
                        
                            
                            
                                题目链接:
Hdu 2236
解题思路:
将行和列理解为二分图两边的端点,给出的矩阵即为二分图中的所有边,
如果二分图能完全匹配,则说明 不同行 不同列的n个元素 区间为(min_edge,max_edge),这些edge是指构成完全匹配的那些边
题目需要求解最小区间长度
我们 可以 二分区间长度(0~100),每次枚举区间的下界
最后得到的maxl 即为...
                            
                            
                                分类:
其他好文   时间:
2015-07-25 10:46:22   
                                阅读次数:
142
                             
                    
                        
                            
                            
                                Trim the Nails
Time Limit: 2 Seconds      Memory Limit: 65536 KB
Robert is clipping his fingernails. But the nail clipper is old and the edge of the nail clipper is potholed.
The nail clipper's...
                            
                            
                                分类:
其他好文   时间:
2015-07-25 07:10:53   
                                阅读次数:
105
                             
                    
                        
                            
                            
                                网络最大流#include#include#include#include#include#include#includeusing namespace std;const int maxn=2000+10;const int INF=0x7FFFFFFF;struct Edge{ int f...
                            
                            
                                分类:
其他好文   时间:
2015-07-23 21:14:45   
                                阅读次数:
145
                             
                    
                        
                            
                            
                                需要判断是否有正权环存在,Bellman-Ford算法就可以辣~
AC代码:
#include 
#include 
#include 
#include 
using namespace std;
struct Edge
{
  int u,v;
  double r,c;
}edge[210];
int n,m,s,k;
double w;
double d[105];
int bellm...
                            
                            
                                分类:
其他好文   时间:
2015-07-22 23:04:30   
                                阅读次数:
303