0_0_32318906_24720.cpp: In function 'void solve(int)': 0_0_32318906_24720.cpp:104:30: error: 'memset' was not declared in this scope memset(sg, -1, sizeof(sg)); ^