Help needed in figuring out how to solve Codeforces Round #385 (Div. 2).E hongcow buys a deck of cards

Правка en1, от M.A.H.M.O.O.D, 2016-12-23 17:10:23

Hi everyone I've been trying to solve 744C - Hongcow Buys a Deck of Cards for a while now but still I haven't figured it out yet...

I've tried reading the Tutorial and reading a few codes but that didn't help much...

I will be very grateful if someone could please explain how to solve it in a detailed manner...

Thank you for reading.

:)

Теги dp, help, stuck in a problem, sad

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский M.A.H.M.O.O.D 2016-12-23 17:10:23 431 Initial revision (published)