Help in DP problem !!!!!

Revision en1, by ayush29azad, 2021-09-22 10:37:24

How to solve this problem using Dp ??? I read the editorial and found that it has been solved using combinatorics but I saw others have solved it using Dp approach.

Problem Link -https://codeforces.net/contest/1288/problem/C

Please Help !!!! Thanks in advance

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ayush29azad 2021-09-22 10:37:24 293 Initial revision (published)