Блог пользователя its_time_to_grow

Автор its_time_to_grow, история, 6 часов назад, По-английски

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.

Полный текст и комментарии »

Теги dp
  • Проголосовать: нравится
  • -11
  • Проголосовать: не нравится