0_0_20064238_21428.cpp: In function 'int main()': 0_0_20064238_21428.cpp:56:16: error: 'pre' was not declared in this scope memset(pre,0,sizeof(pre)); ^