The long long int is 8 bytes. Be sure to use the right flags for printfs and the like! :)
Oh, and you can peek at the solution to 1B on the contest page, which will demonstrate use clearly... On Sep 2, 6:36 pm, MagicLi <[email protected]> wrote: > C++ in Windows, both int and long type are 4bytes, that means the > biggest number can store is 2^31-1=2,147,483,647 , you may say the > unsigned int could be larger, yes, but only twice lager, still under > 10^10; for question like Round 1 B, B. Number Sets, the large input : > 1 <= A <= B <= 10^12, 10^12 cannot be stored in C++'s built-in type. > So how to do that? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
