Find the maximum flow from source to sink
You may directly paste the input file.
make
./test
If the network is not good, pasting is quite slow. You may use the following command to make it faster.
cat lab2spr20.dat | ./test
Successfully run on omega.uta.edu(Red Hat Enterprise Linux 5.11), compiler is g++ 4.1.2.