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