0_0_22564018_24027.cpp: In function 'int main()': 0_0_22564018_24027.cpp:27:33: error: 'memset' was not declared in this scope memset(d,-1,sizeof(int) * n * n); ^