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