https://dare2compete.com/o/optum-stratethon-optum-part-of-unitedhealth-group-90401
contest is over , please tell me how to solve
1 Like
This is problem Z from AtCoder Educational DP contest. IIRC, it was an application of Convex Hull Trick. Iām not familiar with this trick, but you can write the recurrence and expand the expression and see where that goes.
1 Like
Whats the contest number?
contest number 2