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

Автор i3mr125, история, 7 месяцев назад, По-английски

so I was solving a standard dp problem but it got TLE using this form of the calc function

code

and it passed by defining the same function exactly outside the solve function like this.

code

So I really don't understand the issue here

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

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