comefrom: <doocs>1732.Find the Highest Altitude_1.py
code: def largestAltitude( gain: List[int]) -> int:
      res = t = 0
      for h in gain:
          t += h
          res = max(res, t)
      return res
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_2 = var_1 = 0
      for var_3 in var_0 :
          var_1 += var_3
          var_2 = max ( var_2 , var_1 )
      return var_2
  