Feedback for BUYLAMP problem

Problem Link: BUYLAMP Problem - CodeChef

Feedback

the explanation is wrong

@ryuk7051
Its fine the logic is print k*x + (n-k)*(min(x,y));

1 Like

what is the use of finding the minimum of x and y
oh yes will I get banned for discussing this problem

No!. U can discuss anything u feel like over here.

1 Like