pushkar31's blog

By pushkar31, history, 4 years ago, In English

I tried upsolving div2 stable groups problem. After solving why my code gives TLE while this code with exactly same logic gets accepted. Can someone guide me.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By pushkar31, history, 4 years ago, In English

Can anyone plz tell me why my code gives tle.On google search most of them have solved it using bottom top dp. Here's the lonk for problem.Is there any bug in my code or top bottom is slow due to function calls? I have added code in comments thank u.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it