0_0_17677451_1587.cpp: In function 'int main()': 0_0_17677451_1587.cpp:31:37: error: 'memset' was not declared in this scope memset(visit,0,sizeof(visit)); ^