码迷,mamicode.com
首页 >  
搜索关键字:directed    ( 315个结果
POJ 3678
Katu PuzzleTime Limit:1000MSMemory Limit:65536KTotal Submissions:7391Accepted:2717DescriptionKatu Puzzle is presented as a directed graphG(V,E) with e...
分类:其他好文   时间:2014-07-22 23:07:34    阅读次数:389
Is It A Tree?------HDOJ杭电1325(两种方法,可以用也可以不用并查集!!!!!!详解)
Problem Description A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between nodes satisfying the follow...
分类:其他好文   时间:2014-05-21 10:55:57    阅读次数:325
嵌套矩形——DAG上的动态规划
有向无环图(DAG,Directed Acyclic Graph)上的动态规划是学习动态规划的基础。很多问题都可以转化为DAG上的最长路、最短路或路径计数问题。 题目描述:       有n个矩形,每个矩形可以用两个整数a,b描述,表示它的长和宽。矩形X(a,b)可以嵌套在矩形Y(c,d)中当且仅当a 分析:        矩形之间的"可嵌套"关系是一个典型的二元关...
分类:其他好文   时间:2014-05-18 07:20:52    阅读次数:248
uva 11324
Problem B: The Largest CliqueGiven a directed graphG, consider the following transformation. First, create a new graphT(G)to have the same vertex set ...
分类:其他好文   时间:2014-05-01 14:09:34    阅读次数:357
uva 11090
IIUPC2006Problem G: Going in Cycle!!Input: standard inputOutput: standard outputYou are given a weighted directed graph withnvertices andmedges. Each ...
分类:其他好文   时间:2014-05-01 04:32:53    阅读次数:271
315条   上一页 1 ... 30 31 32
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!