Codeforces и Polygon могут быть недоступны в период с 23 мая, 7:00 (МСК) по 23 мая, 11:00 (МСК) в связи с проведением технических работ. ×

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

Автор codersgroup18, история, 4 года назад, По-английски

Can anyone explain the reason for three dp tables in the tutorial code of this problem https://codeforces.com/contest/1367/problem/F2

I tried to do with one dp table but didn't get the correct ans.

please explain the which dp table used for what?? THANKS IN ADVANCE

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

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