There is "long long" type in C++, it's 64 bits (~10^18). On Wed, Sep 2, 2009 at 12:36 PM, MagicLi<musicl...@gmail.com> 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? > > > >
-- +--------------------------------------------------------------------------------+ Joel Silva Uchoa Mestrando em Ciencia da Computação [IME-USP] ---- Toda carne é como erva, e toda a glória do homem, como a flor da erva. Secou-se a erva, e caiu a sua flor; mas a palavra do Senhor permanece para sempre. (I Pe 1:24-25) +--------------------------------------------------------------------------------+ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to google-code@googlegroups.com To unsubscribe from this group, send email to google-code+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-code?hl=en -~----------~----~----~----~------~----~------~--~---