Problem E of Codeforces Global Round 26

Revision en1, by Ryomen.Sukuna, 2024-07-04 10:00:36

In this problem -> https://codeforces.net/contest/1984/problem/E

I am struggling to understand what the Dp state is?

can anyone help me show an easier implementation to this problem?

Tags dp, implementations, struggle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Ryomen.Sukuna 2024-07-04 10:00:36 228 Initial revision (published)