Everytime you perform Empty action, water is wasted. Instead of minimizing steps, find the path that minimizes the total volume of wasted water.
  • Input: C, T
  • Output: min_waste

Solution Stats

3 Solutions

3 Solvers

Last Solution submitted on Feb 19, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers3

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!