Main.cc: In function ‘int main()’: Main.cc:11:23: error: expected ‘}’ at end of input p[i]+=s[m-1-i]; ^ Main.cc:11:23: error: expected ‘}’ at end of input