Please, try EDU on Codeforces! New educational section with videos, subtitles, texts, and problems. ×

Help in a contest probelm(maybe some cool dp or related to graphs)
Difference between en3 and en4, changed 2 character(s)
problem: [link](https://www.codechef.com/PROS2019/problems/STOYS)↵

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](https://drive.google.com/open?id=1I0pWsL1yiY93Csqq2MA7U-16hXJhuKjd)↵

Thank You

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)