256 MB = 256 * 1024 * 8 kB = 256 * 1024 * 1024 * 8 b = 2147483648 b;
int 4 字节 = 4 B = 32 b;
long long int 8 字节 = 8 B = 64 b;
256 MB / 32 b = 67108864 (int);
256 MB / 64b = 33554432 (long long int) ;
一般来说申请数组 int nums[67108864] 就为最大了;
当然long long int nums[33554432]也是最大了;