0_0_22865925_12290.cpp: In function 'int main()': 0_0_22865925_12290.cpp:7:74: error: 'void*' is not a pointer-to-object type (long long*)malloc(sizeof(long long) * 1000000000)[1000000000 - 1] = 1; ^