Hi, I came across one question from codechef.
Here, we are given P and S.
Let l, b, h be the length, breadth, height of the box.
we have these two inequalities
4(l+b+h) <= P
2(lb+bh+hl) <= S
We have to maximise the volume which is lb*h.
We are also given that test cases will produce optimal solution.
Can any 1 please help me with it?