currsum=cumsum[j]-cumsum[i-1];
since the value of i has been initialized from 0, therefore on putting i=0, we get currsum=cumsum[0]-cumsum[-1]
so I don’t know how can we find the value of cumsum[-1] ?
…
currsum=cumsum[j]-cumsum[i-1];
since the value of i has been initialized from 0, therefore on putting i=0, we get currsum=cumsum[0]-cumsum[-1]
so I don’t know how can we find the value of cumsum[-1] ?
…