comefrom: <doocs>2321.Maximum Score Of Spliced Array_1.py
code: def f(nums1, nums2):
      d = [a - b for a, b in zip(nums1, nums2)]
      t = mx = d[0]
      for v in d[1:]:
          if t > 0:
              t += v
          else:
              t = v
          mx = max(mx, t)
      return mx
masked: def sample_funcname ( var_0 , var_1 ) :
      var_5 = [ var_2 - var_3 for var_2 , var_3 in zip ( var_0 , var_1 ) ]
      var_8 = var_6 = var_5 [ 0 ]
      for var_10 in var_5 [ 1 : ] :
          if var_8 > 0 :
              var_8 += var_10
          else :
              var_8 = var_10
          var_6 = max ( var_6 , var_8 )
      return var_6
  