Please read the new rule regarding the restriction on the use of AI tools. ×

ABC contest 373 question F TLE

Revision en1, by KIMJONGOOF, 2024-09-28 23:37:18

Hi!! Below is my submission to Atcode 373 question F Question link -> https://atcoder.jp/contests/abc373/tasks/abc373_f

Submission link -> https://atcoder.jp/contests/abc373/submissions/58252175

I have understood the basic dp state transitions and implemented it. However there is some sort of optimization which i am not really able to understand from the editorial.

It would be nice if someone could explain the optimization in a bit understandable way. Thanks!!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English KIMJONGOOF 2024-09-28 23:37:18 512 Initial revision (published)