Different actions have different monetary costs:
Fill = $10 , Empty = $5 , Pour = $1 #Note: It's just an example
Find the minimum cost to reach target T in any jug.
- Input: C, T, costs_vector ( where costs_vector = [10,5,1], you can understand that it represents Fill, Empty and Pour respectively but their value can change, it doesn't stay stablility at [10,5,1] )
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Group
Problem Recent Solvers8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!