DIGJUMP - (n==1)

What should be the answer when there’s only single digit? Will it be 1 or 0 ?
Does a jump in itself counts when n is 1 ?

Simple fix:

Use 1, submit.

See WA veredict.

Use 0, submit.

Possibly see Ac if all other cases are covered!



That should be 0

That should be 0

It’s zero because he is already in the last block (N th )block