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

15 Solutions

11 Solvers

Last Solution submitted on May 24, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers11

Suggested Problems

More from this Author20

Problem Tags

Community Treasure Hunt

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

Start Hunting!