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

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

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.

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

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

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

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.

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

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