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