i3mr125's blog

By i3mr125, history, 14 months ago, In English

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

Full text and comments »

  • Vote: I like it
  • +33
  • Vote: I do not like it