comefrom: <garvit244>1191_1.py
code: def suffix(arr):
      curr_sum, max_val = 0, float('-inf')
      for index in range(len(arr)-1, -1, -1):
          curr_sum += arr[index]
          max_val = max(max_val, curr_sum)
      return max_val
masked: def sample_funcname ( var_0 ) :
      var_2 , var_5 = 0 , float ( '-inf' )
      for var_9 in range ( len ( var_0 ) - 1 , - 1 , - 1 ) :
          var_2 += var_0 [ var_9 ]
          var_5 = max ( var_5 , var_2 )
      return var_5
  