i was working with the large input data but then i found out that the
long int datatype allocates 4 bytes of memory whereas it is supposed
to be 64 bits. i am using vista 32-bit OS. in case i want to use 64-
bit integers then what OS and compiler should i use? otherwise is
there a way to allocate memory according to the desired size for
integer data, something like if i want to allocate 10 bytes of memory
for an integer then what should be the code?
thanks in advance.
tonka.

On Apr 15, 4:45 pm, kirk79 <[email protected]> wrote:
> Very true.  I have tried many problems that work on small but fail on
> large, and when I replace all 32 bit integers with 64 bit integers the
> large file works.
>
> I now try to use long (64 bit integers) whenever there is a chance
> that they will be required.
>
> On Apr 15, 9:39 pm, Nitin Kumar <[email protected]> wrote:
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to