The figure below shows a flow network along with a flow. In the figure, the notation \(a/b\) for an edge means that the flow on the edge is \(a\) and the capacity of the edge is \(b\).
Decide whether you think the following statement is true or false. If it is true, give a short explanation. If it is false, give a counterexample.
Decide whether you think the following statement is true or false. If it is true, give a short explanation. If it is false, give a counterexample.
Consider this problem from the Polish Olympiad in Informatics:
A team of speleologists organizes a training in the Great Cave of Byte Mountain. During the training each speleologist explores a route from Top Chamber to Bottom Chamber. The speleologists may move down only, that is the level of every consecutive chamber on a route must be lower than the previous one. Moreover, each speleologist has to start from Top Chamber through a different corridor and each of them must enter Bottom Chamber using a different corridor. The remaining corridors may be traversed by more than one speleologist. How many speleologists can train simultaneously?
Explain how to solve this problem using max-flow. (Follow the link above for a more precise problem statement.)
As a child, you may have played with cubes carrying six letters on their six faces. For instance, if you have one cube with the letters ABCDEF, one cube with the letters GHIKLM, and on cube with the letters NOPRST, you can make the word DOG, but not the word CAT (because you cannot use C and A from the same cube).
Given a description of \(n\) available cubes and a word with \(k\) letters, explain how to use max-flow to determine if the word can be spelled with the cubes.
(You can also find this problem on Topcoder.)