Main.cc: In function 'int main()':
Main.cc:12:9: error: 'y' was not declared in this scope
y+=x[i]*2;
^
Main.cc:12:12: error: 'x' was not declared in this scope
y+=x[i]*2;
^
Main.cc:13:9: error: 't' was not declared in this scope
t+=x[i]*4;
^
Main.cc:18:9: error: 's' was not declared in this scope
s+=ai[i];
^
Main.cc:19:13: warning: unused variable 'w' [-Wunused-variable]
int w=s-min;
^
Main.cc:21:11: error: 'w' was not declared in this scope
cout<