int,long,long long,__int64 数据类型及数值范围


int , long , long long , __int64  数据类型 及 数值范围


       int                              1e9+             -2147483648~2147483647

unsigned int                     1e9+              0~4294967295


       long                           1e9+             -2147483648~2147483647

unsigned long                  1e9+              0~4294967295


long long(+)                     1e18+            9223372036854775807

long long(-)                      1e18+           -9223372036854775808

unsigned long long          1e19+           18446744073709551615


  __int64(+)                        1e18+            9223372036854775807

  __int64(-)                         1e18-           -9223372036854775808

unsigned __int64               1e19+          18446744073709551615



你可能感兴趣的:(规则大全)