Main.cc: In function 'int main()':
Main.cc:12:24: error: invalid operands of types 'int' and 'int*' to binary 'operator*'
Y[i]+4*(n-1);
^
Main.cc:14:26: error: invalid operands of types 'int' and 'int*' to binary 'operator*'
Y[i]+1+4*(n-1);
^
Main.cc:16:26: error: invalid operands of types 'int' and 'int*' to binary 'operator*'
Y[i]+2+4*(n-1);
^
Main.cc:18:26: error: invalid operands of types 'int' and 'int*' to binary 'operator*'
Y[i]+3+4*(n-1);
^