#include int main(int argc, char *argv[]) { int logsize = atoi(argv[1]); int size = 1 << logsize; int m = size >> 2; int n = 1 << (27 - logsize); int *table = malloc(size); int sum = 0; int i, j; for(j = 0; j < m; j++) { table[j] = 0; } for(i = 0; i < n; i++) { for(j = 0; j < m; j++) { sum += table[j]; } } return sum; }