• + 2 comments

    d is always smaller than or equal to n, see the constraints