• + 0 comments

    true, but the constraints say 1 <= d <= n :)