0_0_15170047_15450.cpp: In function 'int main()': 0_0_15170047_15450.cpp:50:38: error: 'memset' was not declared in this scope memset(parent, -1, sizeof(parent)); ^