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