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