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