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

Автор asipu_pawan, история, 5 лет назад, По-английски

Hello everyone,

I got AC for the problem GSS1. And I added an extra function "update" to solve a problem GSS3 in the same code but continuously getting WA. Here is the link to my WA solution.

So, please help.

Thanks in advance

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

»
5 лет назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

Your Accepted Code.

In merge function there should be check to see if y corresponds to an empty node.

Also MAXI should be larger than the maximum sum which is $$$5 * 10 ^ 8$$$