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