Блог пользователя feruz.atamuradov

Автор feruz.atamuradov, история, 9 лет назад, По-русски

Hi codeforces. Please help me! How to solve problem acmp.ru in O(NM) time.
Sorry me English isn't well.
Thanks in advance!

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
9 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Well, it is the well-known problem and it could be solved using a DP approach. Follow this link to find the analysis of that possible solution.