[Help] Minimum Path Cover Every Edges ?!

Revision en2, by Libraion, 2021-05-20 07:53:52

Given a undirected graph with $$$N (N \leq 100)$$$ vertices, $$$M (M \leq N * (N + 1) / 2)$$$ edges (there can be edge connect a vertex with itself but all edges are distinct).

Find the number of minimum paths that every edge is in exactly 1 path.

Thanks.

UPD: I just realized it is sum of (odd vertices / 2) for every connected component (and some special case like m = 0, odd vertices = 0).

Tags minimum path, edge cover

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Libraion 2021-05-20 07:53:52 140
en1 English Libraion 2021-05-20 07:16:18 295 Initial revision (published)