comefrom: <doocs>0485.Max Consecutive Ones_1.py
code: def findMaxConsecutiveOnes( nums: List[int]) -> int:
      res = t = 0
      for num in nums:
          if num == 1:
              t += 1
          else:
              res = max(res, t)
              t = 0
      return max(res, t)
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_5 = var_3 = 0
      for var_6 in var_0 :
          if var_6 == 1 :
              var_3 += 1
          else :
              var_5 = max ( var_5 , var_3 )
              var_3 = 0
      return max ( var_5 , var_3 )
  