Use the long long type (also built-in), which is 8 bytes.

On 2 sep, 17:36, 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?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to