Help in a contest probelm(maybe some cool dp or related to graphs)

Revision en5, by vipin_bhardwaj, 2019-08-24 07:29:10

problem: link

Can someone please help me in this problem, i am not getting how to do this. I think may be it is related to some dp problem or may be graphs. Can you please look into it.

UPD: Contest is already over.
UPD2: pdf link
Thank You

UPD3: Answer

Tags #help, #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English vipin_bhardwaj 2019-08-24 07:29:10 65
en4 English vipin_bhardwaj 2019-08-24 05:40:48 2 Tiny change: 'eady over.\nUPD2: [p' -> 'eady over. \nUPD2: [p'
en3 English vipin_bhardwaj 2019-08-24 05:40:33 86
en2 English vipin_bhardwaj 2019-08-23 20:54:57 33 Tiny change: 'to it.\n\nThank' -> 'to it.\n\nUPD: Contest is already over.\n\nThank'
en1 English vipin_bhardwaj 2019-08-23 20:48:29 320 Initial revision (published)