UVa Online Judge Challenge "11045"
This is a maximum flow problem on a bipartite graph. I created the flow chart above to visualize the 3 test cases. The virtual judge run time was 0.18s.

Term Archive
Entries connected to "Maximum Flow", gathered in one place for quick browsing.
Collection filter
Narrow the entries already loaded here by title, summary, category, or tag.
More to Browse
Relationship Map
Use the relationship map to follow related categories, tags, and entries beyond the current list.
Matching entries