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