Need help with 1113A

Правка en1, от strawhatdragon, 2021-11-17 20:11:07

I tried a solution based on dp but I am getting WA: link to my solution: https://codeforces.me/contest/1113/submission/136000085

I got the greedy approach, just want to know if it can be solved using dp and what I am missing in dp.

Теги help, c++

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский strawhatdragon 2021-11-17 20:11:07 256 Initial revision (published)