Magical Girl and Colored Liquid Potions OCT 14

EDITED .Sorry But i can’t allow you ask doubt. The doubt you area asking make the answer pretty easy to figure out

2 Likes

f(x)=max(red liquid, blue liquid, green liquid) at any instant

you have to minimise this function f(x) using the operations provided

1 Like

should i do exactly M tricks

it is clearly stated in the problem that you do ATMOST k operations. The problem setter can’t be clearer than this.

1 Like