|
|
вернуться в форумОбщий форумint64 How do I use int64 and what are his limits? Can it be signed/unsigned? Edited by author 13.09.2004 15:23 Re: int64 for example, problem 1000: #include <stdio.h> __int64 A, B; unsigned __int64 Result; int main() { scanf("%I64d %I64d", &A, &B); Result = A + B; printf("%I64u\n", Result); return 0; } Re: int64 Oh, I forgot, for signed, limits are: [-9,223,372,036,854,775,808..9,223,372,036,854,775,807] and for unsigned [0..18,446,744,073,709,551,615]. |
|
|