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

Автор mac_n_cheese_pog, история, 5 лет назад, По-английски

https://mirror.codeforces.com/contest/201/problem/A

the editorial is too long and i dont understand.also its a dp problem.can somebody help? thanks!

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

»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I think this problem is so difficult for you. Because the problem rating is 1700. Try to solve some easy problem first. You can filter the problem rating that is in your range in the problemset.

»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

also its a dp problem

It really isn't. For some reason it has a "dp" tag in Codeforces, but the tags barely mean anything. Among its submissions, I found no solution even remotely resembling dp.