0_0_16328741_32286.cpp: In function 'int main()': 0_0_16328741_32286.cpp:41:39: error: 'memset' was not declared in this scope memset(indegree, 0, sizeof(indegree)); ^