0_0_21680834_24918.cpp: In function 'int main()': 0_0_21680834_24918.cpp:45:33: error: 'memset' was not declared in this scope memset(vis,0,sizeof(vis)); ^