码迷,mamicode.com
首页 >  
搜索关键字:edges    ( 333个结果
Codeforces Round #475 (Div. 2) D. Destruction of a Tree
1 You are given a tree (a graph with n vertices and n?-?1 edges in which it's possible to reach any vertex from any other vertex using only its edges) ...
分类:其他好文   时间:2018-04-20 22:12:33    阅读次数:195
CodeForces - 960F Pathwalks —— 主席树(n棵线段树)
题目链接:https://vjudge.net/problem/CodeForces-960F You are given a directed graph with n nodes and m edges, with all edges having a certain weight. There ...
分类:其他好文   时间:2018-04-20 21:59:20    阅读次数:251
CodeForces - 11D A Simple Task
Discription Given a simple graph, output the number of simple cycles in it. A simple cycle is a cycle with no repeated vertices or edges. Input The fi ...
分类:其他好文   时间:2018-04-17 16:56:22    阅读次数:153
AtCoder - 3913 XOR Tree
Problem Statement You are given a tree with N vertices. The vertices are numbered 0 through N?1, and the edges are numbered 1 through N?1. Edge i conn ...
分类:其他好文   时间:2018-04-17 11:56:41    阅读次数:220
POJ - 1308 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 ...
分类:其他好文   时间:2018-04-13 13:29:01    阅读次数:195
Minimum spanning tree for each edge
Connected undirected weighted graph without self-loops and multiple edges is given. Graph contains n vertices and m edges. For each edge (u,?v) find t ...
分类:其他好文   时间:2018-04-08 00:25:36    阅读次数:213
Graph Valid Tree
题目描述: Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edg ...
分类:其他好文   时间:2018-04-07 11:18:11    阅读次数:127
水题(并查集+判断是否是树)(详细测试数据)
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 ...
分类:其他好文   时间:2018-04-05 14:33:01    阅读次数:190
TensorFlow资源整理
什么是TensorFlow? TensorFlow 是一个采用数据流图(data flow graphs),用于数值计算的开源软件库。节点(Nodes)在图中表示数学操作,图中的线(edges)则表示在节点间相互联系的多维数据数组,即张量(tensor)。它灵活的架构让你可以在多种平台上展开计算,例 ...
分类:其他好文   时间:2018-04-03 17:26:26    阅读次数:328
【AtCoder - 2134】Zigzag MST
问题描述 We have a graph with N vertices, numbered 0 through N?1. Edges are yet to be added. We will process Q queries to add edges. In the i-th (1≦i≦Q) q ...
分类:其他好文   时间:2018-03-10 17:50:32    阅读次数:169
333条   上一页 1 ... 11 12 13 14 15 ... 34 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!