SPOJ Jolly Kingdom (Minimum Vertex Cover?)

Revision en2, by pranet, 2016-04-18 17:18:40

Problem

TL;DR version: You are given a bipartite graph with atmost 1000 vertices on each side. M (upto 1,000,000) edges are added one by one. Compute the minimum vertex cover after each addition.

Clarification: You need to compute the minimum vertex cover / maximum matching everytime an edge is added.

Any ideas?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English pranet 2016-04-18 17:18:40 112
en1 English pranet 2016-04-18 16:27:34 305 Initial revision (published)