Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

How to better at DP with sorting problem

Revision en1, by Arigatowo, 2024-07-21 05:23:37

Hi guys, I'm new to DP how we can solve a problem DP need sorting for optimize order like this problem: https://atcoder.jp/contests/dp/tasks/dp_x.

Idk how to improve the optimal sorting order. Can some one help me and tell me how to solve problem like that? D:

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Arigatowo 2024-07-21 05:23:37 303 Initial revision (published)