

 Function rsd

    line 12 / 22
    1 + max(0, (1 +  r × 2 + -r))
    O(n^1)

Total Complexity: O(n^1)
