码迷,mamicode.com
首页 >  
搜索关键字:directed    ( 315个结果
Codeforces Round #369 (Div. 2) D. Directed Roads dfs求某个联通块的在环上的点的数量
D. Directed Roads D. Directed Roads ZS the Coder and Chris the Baboon has explored Udayland for quite some time. They realize that it consists of n to ...
分类:移动开发   时间:2016-08-30 18:02:01    阅读次数:456
[CF711D]Directed Roads(强联通分量,计数)
题目链接:http://codeforces.com/contest/711/problem/D 熄灯了明天填坑… ...
分类:移动开发   时间:2016-08-30 00:06:59    阅读次数:312
图的拓扑排序(转)
一、概述 对一个有向无环图(Directed Acyclic Graph简称DAG)G进行拓扑排序,是将G中所有顶点排成一个线性序列,使得图中任意一对顶点u和v,若<u,v> ∈E(G),则u在线性序列中出现在v之前。 通常,这样的线性序列称为满足拓扑次序(TopoiSicai Order)的序列, ...
分类:编程语言   时间:2016-08-28 22:27:10    阅读次数:271
图的拓扑排序、关键路径、最短路径算法 -- C++实现
一:拓扑排序 对一个有向无环图(Directed Acyclic Graph简称DAG)G进行拓扑排序,是将G中所有顶点排成一个线性序列,使得图中任意一对顶点u和v,若边(u,v)∈E(G),则u在...
分类:编程语言   时间:2016-08-25 21:33:34    阅读次数:213
Funny Car Racing(最短路变形)
描述 There is a funny car racing in a city with n junctions and m directed roads. The funny part is: each road is open and closed periodically. Each roa ...
分类:其他好文   时间:2016-08-20 11:20:46    阅读次数:156
H - Funny Car Racing
There is a funny car racing in a city with n junctions and m directed roads. The funny part is: each road is open and closed periodically. Each road i ...
分类:其他好文   时间:2016-07-31 22:00:53    阅读次数:214
codeforces 702E Analysis of Pathes in Functional Graph(倍增)
E. Analysis of Pathes in Functional Graph E. Analysis of Pathes in Functional Graph You are given a functional graph. It is a directed graph, in which ...
分类:其他好文   时间:2016-07-30 14:56:42    阅读次数:196
A - Is It A Tree?
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 ...
分类:其他好文   时间:2016-07-21 22:03:13    阅读次数:162
Route Between Two Nodes in Graph
Given a directed graph, design an algorithm to find out whether there is a route between two nodes. Have you met this question in a real interview? Ye ...
分类:其他好文   时间:2016-07-20 06:34:42    阅读次数:233
POJ3678 Katu Puzzle
Description Katu Puzzle is presented as a directed graph G(V, E) with each edge e(a, b) labeled by a boolean operator op (one of AND, OR, XOR) and an ...
分类:其他好文   时间:2016-07-15 19:58:08    阅读次数:159
315条   上一页 1 ... 18 19 20 21 22 ... 32 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!