Problem in old CF problem

Revision en3, by its_time_to_grow, 2024-08-17 14:08:43

I have a doubt in https://mirror.codeforces.com/contest/713/problem/C If I will modify problem that array should be increasing, not necessarily strictly increasing, then how can we solve this problem.

Any help will be appreciated.

Any other solution for my problem statement is also welcome.

Tags dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English its_time_to_grow 2024-08-17 14:08:43 64
en2 English its_time_to_grow 2024-08-17 14:00:42 12 Tiny change: ' we solve appreciated this prob' -> ' we solve this prob'
en1 English its_time_to_grow 2024-08-17 14:00:05 318 Initial revision (published)