<qiyuangong>1480_Running_Sum_of_1d_Array_1.java
public int[] runningSum(int[] nums) {
        if (nums.length <= 1) return nums;
        for (int i = 1; i < nums.length; i++)
            nums[i] += nums[i - 1];
        return nums;
    }
public int [ ] sample_funcname ( int [ ] var_0 ) {
  if ( var_0 . length <= 1 ) return var_0 ;
  for ( int var_3 = 1 ;
  var_3 < var_0 . length ;
  var_3 ++ ) var_0 [ var_3 ] += var_0 [ var_3 - 1 ] ;
  return var_0 ;
}
