Application of max-flow min-cut theorem

preload imagepreload image