0_0_25912317_11714.cpp: In function 'int main()': 0_0_25912317_11714.cpp:30:43: error: 'memset' was not declared in this scope memset(visited, 0, sizeof(int) * 22 * 22); ^