Main.cc: In function 'int main()':
Main.cc:12:23: error: 'i' was not declared in this scope
for(int y=0,j=l-1;i=0;i++,j--){
^
Main.cc:12:13: warning: unused variable 'y' [-Wunused-variable]
for(int y=0,j=l-1;i=0;i++,j--){
^