Modified version of 1288C

Revision en1, by love_for_maths, 2020-01-15 15:53:08

I have a bad habit of misreading problems. I was trying to solve 1288C - Two Arrays, however I misread that the array B must be non-descending. I tried to come up with a solution that would pass the time limits however was unsuccessful.

So, I wanna ask if there's a way to solve it for the given constraints ?

Tags #combinatorics, #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English love_for_maths 2020-01-15 15:53:08 337 Initial revision (published)