Main.cc: In function ‘void slv()’: Main.cc:20:5: error: ‘n’ was not declared in this scope n=read();up(i,1,n)a[i]=read(); ^