0_0_25145961_23247.cpp: In function 'int main()': 0_0_25145961_23247.cpp:47:27: error: 'memset' was not declared in this scope memset(res,0,sizeof(res)); ^