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