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