Description: The farmer across the river program. Farmer set the wolf, sheep, vegetables across a river, each of which allows only up to the farmer and the same river. Without the farmer custody, if the wolf and sheep together, the wolf will eat the sheep if sheep and vegetables together, the sheep will eat the food. The farmer, the wolf and the sheep across the river to reach food security.
To Search:
File list (Check if you may need any files):
passriver.cpp