Unable to solve Atcoder ABC237 Problem F

Revision en1, by asawa_harsh, 2022-03-08 10:23:15

Can anyone tell me the dp transitions for this problem ? Even after seeing the editorial I am not able to code.

Problem link

Tags atcoder beginner, dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English asawa_harsh 2022-03-08 10:23:15 221 Initial revision (published)