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