Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Help in DP problem.

Revision en1, by Naithani, 2020-07-09 22:23:32

Hey everyone, could you plz help me in this past contest problem I think this could be done using DP and come you with some states but it doesn't work for every case or maybe this is a simple maths problem. I'm sharing the pdf of the problem state, link of the contest

Thanks in advance.

Tags #dynamic programing, #combinatorics, #permutation, #maths

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Naithani 2020-07-09 22:23:51 0 (published)
en1 English Naithani 2020-07-09 22:23:32 437 Initial revision (saved to drafts)