def volume(level):
        vol = 0
        for base, height, ground in rect:
            if level < base:
                vol += ground * min(level - base, height)
        return vol
dataset/ETHPy150Open jilljenn/tryalgo/tryalgo/binary_search.py/volume/swapped operands of `<`