Vladimir want modernize partition office to office comfortable decide remove partition plant bamboos row he think nice n bamboo row ith left ai meter high Vladimir plant n bamboo row height 0 meter right grow 1 meter day in order partition nice Vladimir cut bamboo height great height bamboo bamboo stop growingVladimir want check bamboos d day ie d day plant 2d day cut bamboo reach require height Vladimir want total length bamboo part cut great k meterswhat maximum value d choose achieve want cut k meter bamboo