0_0_18593834_22003.cpp: In function 'void get_sg(int)': 0_0_18593834_22003.cpp:11:29: error: 'memset' was not declared in this scope memset(sg, 0, sizeof(sg)); ^