0_0_18682898_15586.cpp: In function 'int solve()': 0_0_18682898_15586.cpp:39:34: error: 'memset' was not declared in this scope memset(sum, 0, sizeof sum); ^