Main.cc: In function 'int main()': Main.cc:6:23: error: variable-sized object 'b' may not be initialized int a[n],b[n+1]={0},mx=-1,s; ^