0_0_38426991_9204.cpp: In function 'int main()': 0_0_38426991_9204.cpp:10:56: error: 'malloc' was not declared in this scope double *a = (double *)malloc(sizeof(double) * n); ^