Modified version of 1288C

Правка en1, от 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 ?

Теги #combinatorics, #dp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский love_for_maths 2020-01-15 15:53:08 337 Initial revision (published)