Oil pipeline problem.cpp