Problem 44307. The glass half full
47.92% Correct | 52.08% Incorrect
Last Solution submitted on Jan 20, 2023
Chris Breshike on 22 Oct 2018
could someone explain the different between g and f in this problem? don't all the glasses get filled in the bottom level?
HH on 23 Oct 2018
Chris, the problem states (in bold font) that "water only spills outward" and therefore not all glasses are necessarily filled.
Problem Recent Solvers249
Back to basics 11 - Max Integer
Count consecutive 0's in between values of 1
More from this Author40
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!