comefrom: <doocs>1827.Minimum Operations to Make the Array Increasing_1.py
code: def minOperations( nums: List[int]) -> int:
      mx = ans = 0
      for v in nums:
          ans += max(0, mx + 1 - v)
          mx = max(mx + 1, v)
      return ans
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_5 = var_3 = 0
      for var_6 in var_0 :
          var_3 += max ( 0 , var_5 + 1 - var_6 )
          var_5 = max ( var_5 + 1 , var_6 )
      return var_3
  