Comments
+27

And then get a WA coz your proof was wrong

I used the fact that answer is always <=1e18 so whenever our current node goes more than 1e18 we just maintain a count that how much depth we have gone down and no matter what are the moves we will always come back as the answer <= 1e18 Code

+1

That's how telegram should be used

Spoiler
On consciousmindAdvice from a LGM, 5 years ago
+32

As a LGM I don't need any advice.

On consciousmindAdvice from a LGM, 5 years ago
-25

.

.

-17

{DELETED};

-50

[DELETED};