0_0_13673890_28374.cpp: In function 'void init(int)': 0_0_13673890_28374.cpp:40:36: error: 'memset' was not declared in this scope memset(visited, 0, sizeof(visited)); ^