comefrom: <doocs>1701.Average Waiting Time_1.py
code: def averageWaitingTime( customers: List[List[int]]) -> float:
      f = total_waiting_time = 0
      for arrival, time in customers:
          f = max(arrival, f) + time
          total_waiting_time += f - arrival
      return total_waiting_time / len(customers)
masked: def sample_funcname ( var_0 : List [ List [ int ] ] ) -> float :
      var_2 = var_1 = 0
      for var_3 , var_4 in var_0 :
          var_2 = max ( var_3 , var_2 ) + var_4
          var_1 += var_2 - var_3
      return var_1 / len ( var_0 )
  