0
Water jug problem
Can you give me some implementation for the water jug problem in c++? The input are 3 integers - vessel 1 and 2 volumes and the target litres you want to have in one of the vessels.
1 Respuesta
0
This site gives a good explanation of your task.
https://www.geeksforgeeks.org/two-water-jug-puzzle/