Can someone tell me how to solve the problem ARC112E?

Revision en1, by xzggzh1, 2021-02-14 14:27:49

I've just read the editorial but I can't understand the DP . Can someone help me?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English xzggzh1 2021-02-14 14:27:49 186 Initial revision (published)