Yes you will create an array of size 4267412 + 100000 .. http://www-cse.uta.edu/~holder/courses/cse2320/lectures/l15/node11.html
-Dhyanesh On 11/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Dhyanesh, I didn't understend your solution, can you please give > some notes. > "So now the way you can do it is ... first convert the $ to cents ... > say you want 'N' cents with a tolerance of 'T' cents. The algo is as > follows: > > 1. Create an array of size (N+T) .. say A[1.. N+T] and set it all to > zeros " > > So in the example above you will not create N (4267412 ) + T(100000 > cents) size array. > If N is the number of the initial sums what is T to be taken as a size > of an array > >
